Skip to content

Commit

Permalink
Merge pull request #129 from lukeorth/issue-123-allow_html_in_sidebar…
Browse files Browse the repository at this point in the history
…_description

Adding safeHTML to sidebar description
  • Loading branch information
lukeorth committed Sep 10, 2023
2 parents 69ea465 + 13de634 commit 9348267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/sidebar/title.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ <h1>{{ .Site.Params.brand }}</h1>
{{ end }}
</h1>
<p class="lead">
{{ with .Site.Params.description }}{{.}}{{end}}
{{ with .Site.Params.description }}{{. | safeHTML}}{{end}}
</p>
</div>

0 comments on commit 9348267

Please sign in to comment.