Use safeHTML for titles and add non-breaking spaces to Lix 2.90's name #32

Merged
jade merged 1 commit from tom-hubrecht/lix-website:blog-titles into main 2024-07-18 17:26:46 +00:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 9f5e21978a - Show all commits

View file

@ -1,5 +1,5 @@
+++
title = "Announcing Lix 2.90 \"Vanilla Ice Cream\""
title = "Announcing Lix 2.90 \"Vanilla Ice Cream\""
author = "Lix Team"
+++

View file

@ -21,7 +21,7 @@
{{ 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>

View file

@ -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 }}