⚡ Remove trim blank charsets flag to improve speed.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{{- $pageCfg := dict
|
||||
{{ $pageCfg := dict
|
||||
"isHome" .IsHome
|
||||
"isPage" .IsPage
|
||||
"comments" (.Scratch.Get "isComment")
|
||||
"permalink" (.Page.Permalink | absURL)
|
||||
"path" (.Page.Permalink | path.Base)
|
||||
"title" .Page.Title
|
||||
-}}
|
||||
}}
|
||||
|
||||
{{/* Append waline pageview & comment plugin */}}
|
||||
{{ if and .Site.Params.waline ( or .Site.Params.waline.pageView .Site.Params.waline.comment) }}
|
||||
@@ -37,4 +37,4 @@
|
||||
{{ $pageCfg = merge $pageCfg (dict "math" $math) }}
|
||||
{{ end }}
|
||||
|
||||
<script class="next-config" data-name="page" type="application/json">{{- $pageCfg -}}</script>
|
||||
<script class="next-config" data-name="page" type="application/json">{{ $pageCfg }}</script>
|
||||
Reference in New Issue
Block a user