feat(footer): change custom text style

This commit is contained in:
Jimmy Cai 2020-12-20 12:31:44 +01:00
parent d22d6c4fb5
commit c6d0b750b2

View File

@ -6,12 +6,13 @@
{{ .Site.Params.footer.since }} -
{{ end }}
{{ now.Format "2006" }} {{ .Site.Title }}
{{ with .Site.Params.footer.customText }}
<br/> {{ . | safeHTML }}
{{ end }}
</section>
<section class="powerby">
{{ with .Site.Params.footer.customText }}
{{ . | safeHTML }} <br/>
{{ end }}
{{- $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 -}}
{{- $DesignedBy := `<a href="https://jimmycai.com" target="_blank" rel="noopener">Jimmy</a>` -}}