Skip to content

Commit

Permalink
Merge pull request 'Use safeHTML for titles and add non-breaking spac…
Browse files Browse the repository at this point in the history
…es to Lix 2.90's name' (#32) from tom-hubrecht/lix-website:blog-titles into main

Reviewed-on: https://git.lix.systems/lix-project/lix-website/pulls/32
Reviewed-by: jade <[email protected]>
  • Loading branch information
jade committed Jul 18, 2024
2 parents 39067fc + 9f5e219 commit 7069486
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion content/blog/2024-07-10-lix-2.90-release.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
title = "Announcing Lix 2.90 \"Vanilla Ice Cream\""
title = "Announcing Lix 2.90 \"Vanilla&nbsp;Ice&nbsp;Cream\""
author = "Lix Team"
+++

Expand Down
2 changes: 1 addition & 1 deletion themes/lix/layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h2 class="fs-1 fw-bold text-center text-primary pb-3">{{ . }}</h2>
{{ end }}
</div>
<div class="card-body">
<h5 class="card-title fw-semibold">{{ .Title }}</h5>
<h5 class="card-title fw-semibold">{{ .Title | safeHTML }}</h5>
<p class="card-text text-black-61">{{ .Summary }}</p>
</div>
</a>
Expand Down
2 changes: 1 addition & 1 deletion themes/lix/layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="container">
<div class="row justify-content-center pb-5">
<div class="col-12">
{{ with .Title }}
{{ with .Title | safeHTML }}
<h2 class="display-1 fw-bold text-center text-primary pb-3">{{ . }}</h2>
{{ end }}
{{ with .Params.description }}
Expand Down

0 comments on commit 7069486

Please sign in to comment.