Allow providing template for footer

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
hossainemruz 2021-05-02 03:56:06 +06:00
parent bb602d7761
commit b9c757fd5b
3 changed files with 12 additions and 5 deletions

View file

@ -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" . }}