Files
hermit-V2/layouts/partials/footer.html
Lei, HUANG c5330915ea Add option to toggle footer theme name display
- 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.
2024-09-29 23:09:44 -07:00

14 lines
703 B
HTML

<footer id="site-footer" class="section-inner thin animated fadeIn faster">
<p>
&copy; {{ now.Format "2006" }} <a href="{{ .Site.BaseURL }}">{{ .Site.Params.author.name }}</a>
&#183; {{ .Site.Params.footerCopyright | safeHTML }}
{{- if .Site.Params.footerThemeName -}}
&#183; Made with <a href="https://gohugo.io/" target="_blank" rel="noopener">Hugo</a>
&#183; Theme <a href="https://github.com/1bl4z3r/hermit-V2" target="_blank" rel="noopener">Hermit-V2</a>
{{- end -}}
{{- with .OutputFormats.Get "RSS" }}
&#183; <a href="{{ "posts/index.xml" | absLangURL }}" target="_blank" title="rss">{{- partial "svg.html" (dict "context" . "name" "rss") -}}</a>
{{- end -}}
</p>
</footer>