mirror of
https://github.com/imfing/hextra.git
synced 2025-07-02 06:57:37 -04:00
perf: cache scripts
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user