mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-14 04:15:40 +00:00
feat: support custom footers (#2335)
Support custom footer in site folder at `layouts/partials/hooks/footer.html` For example, can be used to add columns of nav links to the footer.
This commit is contained in:
1 parent
aa3c072904
commit
6f46a68181
2 files changed
+4
No files matched your search
@@ -0,0 +1,2 @@
|
||||
{{/* Override this file to add a custom footer to every page. */}}
|
||||
{{/* This partial is included in `layouts/partials/site_footer.html`. */}}
|
||||
@@ -1,5 +1,7 @@
|
||||
<footer class="site-footer">
|
||||
|
||||
{{ partial "hooks/footer" . }}
|
||||
|
||||
{{ if .IsTranslated | and site.Params.footer.show_translations }}
|
||||
<div class="powered-by d-flex flex-wrap pb-2 justify-content-center">
|
||||
<div class="p-2 font-weight-bold"><i class="fas fa-globe pr-1" aria-hidden="true"></i>{{ i18n "languages" }}:</div>
|
||||
|
||||
Reference in new issue
Block a user