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 }}
|
{{ partial "footer.html" . }}
|
||||||
<!-- Google Analytics -->
|
|
||||||
{{ template "_internal/google_analytics_async.html" . }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
|
{{ partial "footer.html" . }}
|
||||||
|
|
||||||
{{ $include_toc := .Params.include_toc}}
|
{{ $include_toc := .Params.include_toc}}
|
||||||
{{ if .Site.GoogleAnalytics }}
|
|
||||||
<!-- Google Analytics -->
|
|
||||||
{{ template "_internal/google_analytics_async.html" . }}
|
|
||||||
{{ end }}
|
|
||||||
{{ 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) }}
|
||||||
|
|
|
@ -1,4 +1 @@
|
||||||
{{ if .Site.GoogleAnalytics }}
|
{{ partial "footer.html" . }}
|
||||||
<!-- Google Analytics -->
|
|
||||||
{{ template "_internal/google_analytics_async.html" . }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue