Skip to content

Commit

Permalink
🐛 Use markdownify instead of .RenderString
Browse files Browse the repository at this point in the history
  • Loading branch information
NormandErwan committed Jan 15, 2020
1 parent 077f537 commit cbf4d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h1 class="header__title">{{ .Title }}</h1>
{{- $subtitle = $subtitle | default $default_subtitle -}}

{{- with $subtitle }}
<div class="header__subtitle metadata">{{ . | $.RenderString }}</div>
<div class="header__subtitle metadata">{{ . | markdownify }}</div>
{{- end }}
{{- end }}
</div>
Expand Down

0 comments on commit cbf4d47

Please sign in to comment.