🎨 Finish folder structure redesign and add some scripts.

This commit is contained in:
凡梦星尘
2022-06-08 14:51:30 +08:00
parent 168fb20cbb
commit 2973eaf85d
27 changed files with 456 additions and 96 deletions

View File

@@ -2,7 +2,7 @@
{{- define "main" }}
{{ $paginator := .Paginate (where .Site.RegularPages "Section" "in" .Site.Params.mainSections) }}
{{- range $paginator.Pages }}
{{ partial "post/index.html" (dict "ctx" . "IsHome" true) }}
{{ partial "post.html" (dict "ctx" . "IsHome" true) }}
{{- end }}
{{- partial "partials/pagination.html" . }}
{{- end }}