🚧 optimization some module design.

This commit is contained in:
凡梦星尘
2022-07-02 22:22:46 +08:00
parent a758a6bb3f
commit a2f296601d
12 changed files with 60 additions and 45 deletions

View File

@@ -40,4 +40,7 @@
{{- $nextjs = $nextjs | append $pjaxjs }}
{{- end }}
{{- $nextjs = $nextjs | resources.Concat "js/hugo-next.js"}}
{{ if hugo.IsProduction }}
{{- $nextjs = $nextjs | minify | fingerprint }}
{{ end }}
<script type="text/javascript" src="{{ $nextjs.RelPermalink }}" defer></script>