mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 03:53:30 +08:00
feat(footer): change custom text style
This commit is contained in:
parent
d22d6c4fb5
commit
c6d0b750b2
@ -6,12 +6,13 @@
|
|||||||
{{ .Site.Params.footer.since }} -
|
{{ .Site.Params.footer.since }} -
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ now.Format "2006" }} {{ .Site.Title }}
|
{{ now.Format "2006" }} {{ .Site.Title }}
|
||||||
|
|
||||||
{{ with .Site.Params.footer.customText }}
|
|
||||||
<br/> {{ . | safeHTML }}
|
|
||||||
{{ end }}
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="powerby">
|
<section class="powerby">
|
||||||
|
{{ with .Site.Params.footer.customText }}
|
||||||
|
{{ . | safeHTML }} <br/>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{- $Generator := `<a href="https://gohugo.io/" target="_blank" rel="noopener">Hugo</a>` -}}
|
{{- $Generator := `<a href="https://gohugo.io/" target="_blank" rel="noopener">Hugo</a>` -}}
|
||||||
{{- $Theme := printf `<b><a href="https://github.com/CaiJimmy/hugo-theme-stack" target="_blank" rel="noopener" data-version="%s">Stack</a></b>` $ThemeVersion -}}
|
{{- $Theme := printf `<b><a href="https://github.com/CaiJimmy/hugo-theme-stack" target="_blank" rel="noopener" data-version="%s">Stack</a></b>` $ThemeVersion -}}
|
||||||
{{- $DesignedBy := `<a href="https://jimmycai.com" target="_blank" rel="noopener">Jimmy</a>` -}}
|
{{- $DesignedBy := `<a href="https://jimmycai.com" target="_blank" rel="noopener">Jimmy</a>` -}}
|
||||||
|
Loading…
Reference in New Issue
Block a user