Files
iammiti99/themes/bonsai/layouts/partials/footer.html
T
tiennm99 a968b9dafc feat: initial Bonsai theme scaffold
Minimalist Hugo theme for link-in-bio pages, inspired by Linktree
and Japanese bonsai aesthetics.

- Single-page bio with avatar, tagline, bio, and links
- Data-driven via [params] in hugo.toml — no content files needed
- Light/dark mode via prefers-color-scheme + optional toggle
- Inline SVG icon set (github, globe, mail, twitter, linkedin, etc)
- Zero JS by default; opt-in theme toggle script
- exampleSite for local development
2026-05-01 10:04:59 +07:00

10 lines
268 B
HTML

{{- if site.Params.footer | default true -}}
<footer class="bonsai-footer">
{{- with site.Params.footerText -}}
<p>{{ . | safeHTML }}</p>
{{- else -}}
<p>© {{ now.Year }} {{ site.Params.name | default site.Title }}</p>
{{- end -}}
</footer>
{{- end -}}