Skip to content

Commit

Permalink
theme: don't plainify post summaries
Browse files Browse the repository at this point in the history
I *believe* this will just mean HTML inside summaries is rendered rather
than being stripped, but when it strips HTML it doesn't render HTML
entities like `“`, which is what this commit is fixing.
  • Loading branch information
Qyriad committed Jul 11, 2024
1 parent 8568afd commit 10e4790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/lix/layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h2 class="fs-1 fw-bold text-center text-primary pb-3">{{ . }}</h2>
</div>
<div class="card-body">
<h5 class="card-title fw-semibold">{{ .Title }}</h5>
<p class="card-text text-black-61">{{ .Summary | plainify }}</p>
<p class="card-text text-black-61">{{ .Summary }}</p>
</div>
</a>
</div>
Expand Down

0 comments on commit 10e4790

Please sign in to comment.