Files
hermit-V2/layouts/partials/footer.html
Lei, HUANG b7def36e8c Update footer configuration and template
- Renamed `footerThemeName` to `footerHideThemeName` in `hugo.toml.example`
 - Updated conditional logic in `footer.html` to reflect the new parameter name
2024-09-30 10:35:18 -07:00

14 lines
711 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 not .Site.Params.footerHideThemeName -}}
&#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>