🔧 Re Change default section display not use archive page.
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
{{- define "main_inner_class" }}index posts-expand{{- end }}
|
||||
|
||||
{{- define "main" }}
|
||||
|
||||
{{ $paginator := .Paginate (where .Site.RegularPages "Section" "in" .Site.Params.mainSections) }}
|
||||
{{- range $paginator.Pages }}
|
||||
{{ partial "post.html" (dict "ctx" . "IsHome" true) }}
|
||||
{{ partial "post.html" (dict "ctx" . "IsHome" true) }}
|
||||
{{- end }}
|
||||
|
||||
{{- partial "partials/pagination.html" . }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user