diff options
author | Francesco <tomaselli.fr@gmail.com> | 2024-04-28 23:27:46 +0200 |
---|---|---|
committer | Francesco <tomaselli.fr@gmail.com> | 2024-04-29 00:05:22 +0200 |
commit | f7131b852c48742226934105df68229f3a1408a8 (patch) | |
tree | f5d20a186c7b3a82def08d83de90eaf43ec79dc4 /layouts | |
parent | 572c118f10c4d360ff11cf612db087c1926e17eb (diff) |
Fixed overflow on Katex for mobile, woff2 for Literata
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 |