Remove trim blank charsets flag to improve speed.

This commit is contained in:
凡梦星尘
2023-01-01 21:12:58 +08:00
parent d0a6d943e0
commit a2f37c8470
55 changed files with 494 additions and 496 deletions

View File

@@ -1,15 +1,15 @@
{{- define "title" }}
{{- .Params.Title | default (T .Section) | default .Section }} - {{ .Site.Title -}}
{{- end -}}
{{ define "title" }}
{{ .Params.Title | default (T .Section) | default .Section }} - {{ .Site.Title }}
{{ end }}
{{ define "main_inner_class" }}index posts-expand{{ end }}
{{- define "main" }}
{{ define "main" }}
{{ $paginator := .Paginate (where .Site.RegularPages "Section" "==" .Section) }}
{{- range $paginator.Pages }}
{{ range $paginator.Pages }}
{{ partial "post.html" (dict "ctx" . "IsHome" true) }}
{{- end }}
{{ end }}
{{- partial "partials/pagination.html" . }}
{{ partial "partials/pagination.html" . }}
{{- end }}
{{ end }}