diff --git a/layouts/partials/widgets/featured.html b/layouts/partials/widgets/featured.html index b0ae830b..aefe1428 100644 --- a/layouts/partials/widgets/featured.html +++ b/layouts/partials/widgets/featured.html @@ -12,11 +12,11 @@ {{/* Filters */}} {{ if $st.Params.content.filters.tag }} - {{ $archive_page := $.Site.GetPage (printf "tags/%s" $st.Params.filters.content.tag) }} + {{ $archive_page := $.Site.GetPage (printf "tags/%s" $st.Params.content.filters.tag) }} {{ $query = $query | intersect $archive_page.Pages }} {{ end }} {{ if $st.Params.content.filters.category }} - {{ $archive_page := $.Site.GetPage (printf "categories/%s" $st.Params.filters.content.category) }} + {{ $archive_page := $.Site.GetPage (printf "categories/%s" $st.Params.content.filters.category) }} {{ $query = $query | intersect $archive_page.Pages }} {{ end }} {{ if $st.Params.content.filters.publication_type }} diff --git a/layouts/partials/widgets/pages.html b/layouts/partials/widgets/pages.html index 71b6a2e1..ae38499d 100644 --- a/layouts/partials/widgets/pages.html +++ b/layouts/partials/widgets/pages.html @@ -19,11 +19,11 @@ {{/* Filters */}} {{ if $st.Params.content.filters.tag }} - {{ $archive_page = $.Site.GetPage (printf "tags/%s" $st.Params.filters.content.tag) }} + {{ $archive_page = $.Site.GetPage (printf "tags/%s" $st.Params.content.filters.tag) }} {{ $query = $query | intersect $archive_page.Pages }} {{ end }} {{ if $st.Params.content.filters.category }} - {{ $archive_page = $.Site.GetPage (printf "categories/%s" $st.Params.filters.content.category) }} + {{ $archive_page = $.Site.GetPage (printf "categories/%s" $st.Params.content.filters.category) }} {{ $query = $query | intersect $archive_page.Pages }} {{ end }} {{ if $st.Params.content.filters.publication_type }}