Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zhou Fang
hugo-solstice-theme
Commits
01411c27
Unverified
Commit
01411c27
authored
Jul 13, 2021
by
Zhou (Link) Fang
Committed by
GitHub
Jul 13, 2021
Browse files
Added safeHTML in tagline (#234)
parent
2da26a50
Changes
1
Hide whitespace changes
Inline
Side-by-side
layouts/partials/jumbotron.html
View file @
01411c27
...
...
@@ -24,7 +24,7 @@
{{ 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}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment