Use where func instead of paigelistmath scratch

This commit is contained in:
Will Faught
2022-12-16 17:26:41 -08:00
parent 06f39fb1a9
commit 56f26a6317
3 changed files with 2 additions and 5 deletions

View File

@@ -3,9 +3,6 @@
{{ $page := . }}
{{ $p := .Paginate .Pages }}
{{ range $p.Pages }}
{{ if .Params.math }}
{{ $page.Scratch.Set "paigelistmath" true }}
{{ end }}
{{ partial "paige-article.html" . }}
{{ end }}
{{ if or $p.HasPrev $p.HasNext }}