Added possibility of custom footer; some of the code could be further centralized

This commit is contained in:
Julian Stier 2020-03-12 15:14:16 +01:00
parent b7e068d587
commit e8fc700483
5 changed files with 5 additions and 3 deletions

View file

View file

@ -0,0 +1,2 @@
{{ partial "footer/font-awesome-js.html" . }}
{{ partial "footer/custom.html" . }}

View file

@ -2,4 +2,4 @@
<!-- Google Analytics -->
{{ template "_internal/google_analytics_async.html" . }}
{{ end }}
{{ partial "footer/font-awesome-js.html" . }}
{{ partial "footer/footer.html" . }}

View file

@ -3,7 +3,7 @@
<!-- Google Analytics -->
{{ template "_internal/google_analytics_async.html" . }}
{{ end }}
{{ partial "footer/font-awesome-js.html" . }}
{{ partial "footer/footer.html" . }}
{{ partial "highlight-js.html" . }}
{{ with .Site.Params.toc }}
{{ if and (eq . "tocbot") (ne $include_toc false) }}

View file

@ -2,4 +2,4 @@
<!-- Google Analytics -->
{{ template "_internal/google_analytics_async.html" . }}
{{ end }}
{{ partial "footer/font-awesome-js.html" . }}
{{ partial "footer/footer.html" . }}