diff options
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/_default/baseof.html | 2 | ||||
| -rw-r--r-- | layouts/partials/footer.html | 6 | ||||
| -rw-r--r-- | layouts/partials/head.html | 4 | 
3 files changed, 6 insertions, 6 deletions
| diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index e5ac09e..a116c36 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -25,7 +25,7 @@    </div>    <footer> -    {{ partialCached "footer.html" . }} +    {{ partial "footer.html" . }}    </footer>  </body> diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 84057aa..9f307e1 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -2,4 +2,8 @@      <a href="https://gohugo.io/">Hugo</a>      and      <a href="https://github.com/tomfran/typo">tomfran/typo</a> -</p>
\ No newline at end of file +</p> + +{{ if .Param "math" }} +{{ partialCached "math.html" . }} +{{ end }}
\ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 962ebf4..fef47c4 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -4,10 +4,6 @@  {{ partialCached "head/css.html" . }}  {{ partialCached "head/js.html" . }} -{{ if .Param "math" }} -{{ partialCached "math.html" . }} -{{ end }} -  {{ if hugo.IsProduction }}  {{ template "_internal/google_analytics.html" . }}  {{ end }}
\ No newline at end of file | 
