1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-11-24 13:10:18 +01:00

Allow site description to be Markdown

This commit is contained in:
Alan Orth 2016-09-07 16:47:59 +03:00
parent 15a41a86a2
commit ba25b91d94
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -34,7 +34,7 @@
<header class="blog-header">
<div class="container">
<h1 class="blog-title">{{ .Site.Title | safeHTML }}</h1>
{{ if .Site.Params.description }}<p class="lead blog-description">{{ .Site.Params.description | safeHTML }}</p>{{ end }}
{{ if .Site.Params.description }}<p class="lead blog-description">{{ .Site.Params.description | markdownify }}</p>{{ end }}
</div>
</header>