Made redundant footer code reference original footer partial
This commit is contained in:
parent
a850fc7201
commit
3520ff123d
3 changed files with 4 additions and 12 deletions
|
@ -1,4 +1 @@
|
|||
{{ if .Site.GoogleAnalytics }}
|
||||
<!-- Google Analytics -->
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
{{ end }}
|
||||
{{ partial "footer.html" . }}
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
{{ partial "footer.html" . }}
|
||||
|
||||
{{ $include_toc := .Params.include_toc}}
|
||||
{{ if .Site.GoogleAnalytics }}
|
||||
<!-- Google Analytics -->
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
{{ end }}
|
||||
{{ partial "highlight-js.html" . }}
|
||||
{{ with .Site.Params.toc }}
|
||||
{{ if and (eq . "tocbot") (ne $include_toc false) }}
|
||||
|
|
|
@ -1,4 +1 @@
|
|||
{{ if .Site.GoogleAnalytics }}
|
||||
<!-- Google Analytics -->
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
{{ end }}
|
||||
{{ partial "footer.html" . }}
|
||||
|
|
Loading…
Reference in a new issue