
- Introduced `footerThemeName` parameter in `hugo.toml.example` to control the display of Hugo and Hermit-V2 theme tribute in the footer. - Updated `footer.html` to conditionally display the tribute based on the `footerThemeName` parameter.
14 lines
703 B
HTML
14 lines
703 B
HTML
<footer id="site-footer" class="section-inner thin animated fadeIn faster">
|
|
<p>
|
|
© {{ now.Format "2006" }} <a href="{{ .Site.BaseURL }}">{{ .Site.Params.author.name }}</a>
|
|
· {{ .Site.Params.footerCopyright | safeHTML }}
|
|
{{- if .Site.Params.footerThemeName -}}
|
|
· Made with <a href="https://gohugo.io/" target="_blank" rel="noopener">Hugo</a>
|
|
· Theme <a href="https://github.com/1bl4z3r/hermit-V2" target="_blank" rel="noopener">Hermit-V2</a>
|
|
{{- end -}}
|
|
{{- with .OutputFormats.Get "RSS" }}
|
|
· <a href="{{ "posts/index.xml" | absLangURL }}" target="_blank" title="rss">{{- partial "svg.html" (dict "context" . "name" "rss") -}}</a>
|
|
{{- end -}}
|
|
</p>
|
|
|
|
</footer> |