perf: cache scripts

This commit is contained in:
Xin
2023-10-22 11:01:19 +01:00
parent 230cc438b7
commit 24f3178ea8
3 changed files with 48 additions and 48 deletions

View File

@ -1,12 +1,13 @@
<!DOCTYPE html>
<html lang="{{ .Site.Language.Lang }}">
{{- partial "head.html" . -}}
{{ partial "head.html" . -}}
<body dir="ltr">
{{- partial "navbar.html" . -}}
{{ partial "navbar.html" . -}}
{{- block "main" . }}{{ end -}}
{{- if or (eq .Site.Params.footer.enable nil) (.Site.Params.footer.enable) }}
{{ partial "footer.html" . }}
{{ end }}
{{ end -}}
</body>
{{ partial "scripts.html" . }}
{{ partialCached "scripts.html" . }}
{{ partial "third-party/scripts.html" . }}
</html>