Merge pull request 'Use safeHTML for titles and add non-breaking spaces to Lix 2.90's name' (#32) from tom-hubrecht/lix-website:blog-titles into main
Reviewed-on: #32 Reviewed-by: jade <jade@noreply.git.lix.systems>
This commit is contained in:
commit
7069486d7f
|
@ -1,5 +1,5 @@
|
||||||
+++
|
+++
|
||||||
title = "Announcing Lix 2.90 \"Vanilla Ice Cream\""
|
title = "Announcing Lix 2.90 \"Vanilla Ice Cream\""
|
||||||
author = "Lix Team"
|
author = "Lix Team"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<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>
|
<p class="card-text text-black-61">{{ .Summary }}</p>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row justify-content-center pb-5">
|
<div class="row justify-content-center pb-5">
|
||||||
<div class="col-12">
|
<div class="col-12">
|
||||||
{{ with .Title }}
|
{{ with .Title | safeHTML }}
|
||||||
<h2 class="display-1 fw-bold text-center text-primary pb-3">{{ . }}</h2>
|
<h2 class="display-1 fw-bold text-center text-primary pb-3">{{ . }}</h2>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ with .Params.description }}
|
{{ with .Params.description }}
|
||||||
|
|
Loading…
Reference in a new issue