Allow providing template for footer
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
parent
bb602d7761
commit
b9c757fd5b
3 changed files with 12 additions and 5 deletions
|
@ -30,7 +30,8 @@
|
|||
</div>
|
||||
|
||||
<!------- ADD FOOTER ------------>
|
||||
{{- partial "footer.html" . -}}
|
||||
{{ $footerTemplate:= site.Params.footer.template | default "footer.html" }}
|
||||
{{- partial $footerTemplate . -}}
|
||||
|
||||
<!------- ADD COMMON SCRIPTS ------->
|
||||
{{ partial "scripts.html" . }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue