mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-30 04:23:30 +08:00
subtitle Support for HTML syntax
Support for HTML syntax to avoid escaping by Go templates
This commit is contained in:
parent
359e4b34c1
commit
968b702392
@ -31,7 +31,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<h1 class="site-name"><a href="{{ .Site.BaseURL | relLangURL }}">{{ .Site.Title }}</a></h1>
|
<h1 class="site-name"><a href="{{ .Site.BaseURL | relLangURL }}">{{ .Site.Title }}</a></h1>
|
||||||
<h2 class="site-description">{{ .Site.Params.sidebar.subtitle }}</h2>
|
<h2 class="site-description">{{ .Site.Params.sidebar.subtitle | safeHTML }}</h2>
|
||||||
|
|
||||||
{{- with .Site.Menus.social -}}
|
{{- with .Site.Menus.social -}}
|
||||||
<ol class="social-menu">
|
<ol class="social-menu">
|
||||||
|
Loading…
Reference in New Issue
Block a user