diff --git a/archetypes/default.md b/archetypes/default.md index 0556d3a..6075e9a 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -5,7 +5,8 @@ date: {{ .Date }} image: math: license: -hidden: false comments: true draft: true +build: + list: always # Change to "never" to hide the page from the list --- \ No newline at end of file diff --git a/layouts/_partials/article/components/related-content.html b/layouts/_partials/article/components/related-content.html index aba88e3..f3094eb 100644 --- a/layouts/_partials/article/components/related-content.html +++ b/layouts/_partials/article/components/related-content.html @@ -1,4 +1,4 @@ -{{ $related := (where (.Site.RegularPages.Related .) "Params.hidden" "!=" true) | first 5 }} +{{ $related := (.Site.RegularPages.Related .) | first 5 }} {{ with $related }}