Use partialCached for styles, they are the same on all pages.

This commit is contained in:
Fredrik Jonsson 2019-04-02 10:02:08 +02:00
commit 6944a104bc

View file

@ -6,7 +6,7 @@
<title>{{ block "title" . }}{{ .Title }} – {{ .Site.Title }}{{ end }}</title>
{{ block "meta" . }}{{ end }}
{{- partial "meta.html" . -}}
{{- partial "styles.html" . -}}
{{- partialCached "styles.html" . -}}
{{ block "header" . }}{{ end }}
{{ if and .Site.Params.piwikTrackerUrl .Site.Params.piwikSiteID }}{{ partialCached "matomo.html" . }}{{ end -}}
</head>