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
|
@ -66,7 +66,8 @@
|
|||
{{ end }}
|
||||
|
||||
<!--- 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