forked from lix-project/lix-website
Use safeHTML for titles and add non-breaking spaces to Lix 2.90's name
This commit is contained in:
parent
7e44247748
commit
9f5e21978a
3 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
title = "Announcing Lix 2.90 \"Vanilla Ice Cream\""
|
||||
title = "Announcing Lix 2.90 \"Vanilla Ice Cream\""
|
||||
author = "Lix Team"
|
||||
+++
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue