Skip to content

Commit d31024e

Browse files
authored
Force a linebreak so that the "External Article" button appears on its own line (#65)
[reviewed by @DanilaFe and design agreed upon by @e-kayrakli] To me, this made article titles easier to parse while also making the external article visual tag clearer. ### Before <img width="1126" height="1900" alt="image" src="https://github.com/user-attachments/assets/1ea9dcd6-dcfb-4ef9-a118-734c6a61e200" /> ### After <img width="1120" height="1872" alt="image" src="https://github.com/user-attachments/assets/120baac7-9937-4923-a039-9c344c30706c" />
2 parents 7beccf2 + 1caa30e commit d31024e

File tree

1 file changed

+1
-1
lines changed
  • themes/chapel-theme/layouts/partials

1 file changed

+1
-1
lines changed

themes/chapel-theme/layouts/partials/post.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{{- if .Params.featured }}{{ partial "icon.html" "star" }}{{ end }}
88
{{- " " -}}{{ partial "richtitle.html" . }}
99
{{- if .Params.externalURL -}}
10-
<span class="external-marker">
10+
<br><span class="external-marker">
1111
External Article {{ partial "icon.html" "external-link" }}
1212
</span>
1313
{{- end -}}

0 commit comments

Comments
 (0)