Make use of partialCached for cookiconsent and math.
This commit is contained in:
parent
eee22b08f5
commit
9a8fc75e1f
1 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@
|
|||
{{ partial "meta_json_ld.html" . }}
|
||||
{{ partial "scripts.html" . }}
|
||||
{{ partialCached "tracking.html" . }}
|
||||
{{ if $.Param "math" }}{{ partial "math.html" . }}{{ end -}}
|
||||
{{ if $.Param "math" }}{{ partialCached "math.html" . }}{{ end -}}
|
||||
</head>
|
||||
|
||||
<body class="{{ if .IsPage }}single-page{{ else }}list-page{{ end }}{{ if .IsHome }} front{{ end }}{{ with $.Param "bodyclass" }} {{ . }}{{ end }}">
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
{{ if $.Param "poweredby" }}<p>Powered by <a href="https://gohugo.io/">Hugo</a> and the <a href="https://github.com/frjo/hugo-theme-zen">Zen theme</a>.</p>{{ end }}
|
||||
</footer>
|
||||
|
||||
{{ if $.Param "cookieconsent" }}{{ partial "cookieconsent.html" . }}{{ end -}}
|
||||
{{ if $.Param "cookieconsent" }}{{ partialCached "cookieconsent.html" . }}{{ end -}}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Reference in a new issue