refactor: drop support for hidden field in front matter

This commit is contained in:
Jimmy Cai
2022-06-12 11:42:35 +00:00
committed by GitHub
parent 6e5956b905
commit e5f3cb11d5
8 changed files with 8 additions and 23 deletions
-1
View File
@@ -6,7 +6,6 @@
{{- else -}}
{{- $pages = $pctx.Pages -}}
{{- end -}}
{{- $pages := where $pages "Params.hidden" "!=" true -}}
{{- $limit := .Site.Config.Services.RSS.Limit -}}
{{- if ge $limit 1 -}}
{{- $pages = $pages | first $limit -}}