From a9326ce37307e3c69301e5a299edef0fc4d2a5e2 Mon Sep 17 00:00:00 2001 From: WingsZeng Date: Sun, 6 Feb 2022 23:49:28 +0800 Subject: [PATCH] fix: series_weight does not work in term pages --- layouts/taxonomy/list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/taxonomy/list.html b/layouts/taxonomy/list.html index cfcc15aaa..721ed7a45 100644 --- a/layouts/taxonomy/list.html +++ b/layouts/taxonomy/list.html @@ -44,7 +44,7 @@

{{- if .Pages -}} {{- $taxonomy := .Data.Singular -}} {{- if eq $taxonomy "series" -}} - {{- $pages := .Pages -}} + {{- $pages := .Pages.ByParam "series_weight" -}} {{- with .Site.Params.list.paginate | default .Site.Params.paginate -}} {{- $pages = $.Paginate $pages . -}} {{- else -}}