
- Add isShowFooter option in config.toml (default: true) - Implement conditional rendering in footer.html based on isShowFooter value
4 lines
152 B
HTML
4 lines
152 B
HTML
{{ if site.Params.theme_config.isShowFooter }}
|
|
{{ $footerContent := readFile "layouts/footer.md" }}
|
|
{{ $footerContent | markdownify }}
|
|
{{ end }} |