mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 03:53:30 +08:00
feat: allow html tag in site description
This commit is contained in:
parent
325303a7f8
commit
2b7851d933
@ -28,7 +28,7 @@
|
||||
</figure>
|
||||
{{ end }}
|
||||
<h1 class="site-name"><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1>
|
||||
<h2 class="site-description">{{ .Site.Params.sidebar.subtitle }}</h2>
|
||||
<h2 class="site-description">{{ with .Site.Params.sidebar.subtitle }}{{ . | safeHTML }}{{ end }}</h2>
|
||||
</header>
|
||||
|
||||
<ol class="menu" id="main-menu">
|
||||
|
Loading…
Reference in New Issue
Block a user