mirror of
https://github.com/tomfran/typo.git
synced 2025-04-25 21:19:55 +03:00
single view: markdownify summary
The summary is not markdownified, and thus we see the md content on the summary. This fixes that
This commit is contained in:
parent
5edbb3335a
commit
3dbee5b30d
1 changed files with 2 additions and 2 deletions
|
@ -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 */}}
|
||||
|
@ -96,4 +96,4 @@
|
|||
|
||||
</div>
|
||||
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue