younsl 169f20256a feat: add toggle option for footer display
- Add isShowFooter option in config.toml (default: true)
- Implement conditional rendering in footer.html based on isShowFooter value
2024-11-18 01:04:24 +09:00

4 lines
152 B
HTML

{{ if site.Params.theme_config.isShowFooter }}
{{ $footerContent := readFile "layouts/footer.md" }}
{{ $footerContent | markdownify }}
{{ end }}