Added possibility of custom footer; some of the code could be further centralized
This commit is contained in:
parent
b7e068d587
commit
e8fc700483
5 changed files with 5 additions and 3 deletions
0
layouts/partials/footer/custom.html
Normal file
0
layouts/partials/footer/custom.html
Normal file
2
layouts/partials/footer/footer.html
Normal file
2
layouts/partials/footer/footer.html
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
{{ partial "footer/font-awesome-js.html" . }}
|
||||||
|
{{ partial "footer/custom.html" . }}
|
|
@ -2,4 +2,4 @@
|
||||||
<!-- Google Analytics -->
|
<!-- Google Analytics -->
|
||||||
{{ template "_internal/google_analytics_async.html" . }}
|
{{ template "_internal/google_analytics_async.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ partial "footer/font-awesome-js.html" . }}
|
{{ partial "footer/footer.html" . }}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<!-- Google Analytics -->
|
<!-- Google Analytics -->
|
||||||
{{ template "_internal/google_analytics_async.html" . }}
|
{{ template "_internal/google_analytics_async.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ partial "footer/font-awesome-js.html" . }}
|
{{ partial "footer/footer.html" . }}
|
||||||
{{ partial "highlight-js.html" . }}
|
{{ partial "highlight-js.html" . }}
|
||||||
{{ with .Site.Params.toc }}
|
{{ with .Site.Params.toc }}
|
||||||
{{ if and (eq . "tocbot") (ne $include_toc false) }}
|
{{ if and (eq . "tocbot") (ne $include_toc false) }}
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
<!-- Google Analytics -->
|
<!-- Google Analytics -->
|
||||||
{{ template "_internal/google_analytics_async.html" . }}
|
{{ template "_internal/google_analytics_async.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ partial "footer/font-awesome-js.html" . }}
|
{{ partial "footer/footer.html" . }}
|
||||||
|
|
Loading…
Reference in a new issue