🎨 Finish archives page coding.

This commit is contained in:
凡梦星尘
2022-06-07 18:16:40 +08:00
parent 517ddcdf84
commit 168fb20cbb
24 changed files with 184 additions and 26 deletions

View File

@@ -1,4 +1,5 @@
{{- define "main_class" }}page{{- end }}
{{- define "title" }}{{- .Title }} - {{ .Site.Title -}}{{- end }}
{{- define "main_inner_class" }}post posts-expand{{- end }}
{{- define "main" }}
{{ partial "post_content.html" (dict "ctx" . "IsHome" false) }}
{{ partial "post/index.html" (dict "ctx" . "IsHome" false) }}
{{- end }}