Skip to content

Commit

Permalink
single view: markdownify summary
Browse files Browse the repository at this point in the history
The summary is not markdownified, and thus we see the md content on the summary. This fixes that
  • Loading branch information
Frankkkkk authored Oct 10, 2024
1 parent 5edbb33 commit 3dbee5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<h1 class="single-title">{{ .Title }}</h1>
{{ with .Param "summary" }}
<p class="single-summary">{{ . }}</p>
<p class="single-summary">{{ . | markdownify }}</p>
{{ end }}

{{/* Reading Time */}}
Expand Down Expand Up @@ -96,4 +96,4 @@ <h1 class="single-title">{{ .Title }}</h1>

</div>

{{ end }}
{{ end }}

0 comments on commit 3dbee5b

Please sign in to comment.