forked from Sync/hugo-theme-stack
fix(footer): add Hugo version
This commit is contained in:
parent
087989e427
commit
2858c527b0
@ -1,4 +1,5 @@
|
||||
{{- $ThemeVersion := "3.29.0" -}}
|
||||
{{- $HugoVersion := .Site.Hugo.Version -}}
|
||||
<footer class="site-footer">
|
||||
<section class="copyright">
|
||||
©
|
||||
@ -13,7 +14,7 @@
|
||||
{{ . | safeHTML }} <br/>
|
||||
{{ end }}
|
||||
|
||||
{{- $Generator := `<a href="https://gohugo.io/" target="_blank" rel="noopener">Hugo</a>` -}}
|
||||
{{- $Generator := printf `<a href="https://gohugo.io/" target="_blank" rel="noopener">Hugo</a> v%s` $HugoVersion -}}
|
||||
{{- $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>` -}}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user