Skip to content

Commit

Permalink
Fix floaty full stops at sentence tails
Browse files Browse the repository at this point in the history
  • Loading branch information
ktnlvr committed Nov 4, 2024
1 parent 6f8153a commit 141f1d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/content-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{{if not .Params.Unlisted}}
<li class="{{if .Draft}}unlisted{{end}}">
<a href="{{.RelPermalink}}" class="article-title">{{.Title}}</a>{{if .Draft}} (draft){{end}} -
{{.Params.Brief}}. <span style="color: var(--gray-color); white-space: nowrap;">
{{printf "%s." (strings.Trim .Params.Brief " \t\n")}} <span style="color: var(--gray-color); white-space: nowrap;">
{{.Params.Date.Format "January 2, 2006"}}</span>
</li>
{{end}}
Expand Down

0 comments on commit 141f1d8

Please sign in to comment.