Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Commit

Permalink
Added safeHTML in tagline (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
linkfang committed Jul 13, 2021
1 parent 2da26a5 commit 01411c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/jumbotron.html
Expand Up @@ -24,7 +24,7 @@ <h2>{{ .Page.Params.subtitle | title }}</h2>
{{ if isset .Page.Params "tagline" }}
<div class="row">
<div class="{{- .Params.jumbotron_tagline_class | default .Site.Params.jumbotron_tagline_class | default "col-sm-18 col-sm-offset-3"}}">
<p>{{ .Page.Params.tagline }}</p>
<p>{{ .Page.Params.tagline | safeHTML }}</p>
</div>
</div>
{{end}}
Expand Down

0 comments on commit 01411c2

Please sign in to comment.