|
@@ -30,6 +30,10 @@
|
|
{{ $archive_page = site.GetPage (printf "publication_types/%s" $st.Params.content.filters.publication_type) }}
|
|
{{ $archive_page = site.GetPage (printf "publication_types/%s" $st.Params.content.filters.publication_type) }}
|
|
{{ $query = $query | intersect $archive_page.Pages }}
|
|
{{ $query = $query | intersect $archive_page.Pages }}
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
+{{ if $st.Params.content.filters.author }}
|
|
|
|
+ {{ $archive_page = site.GetPage (printf "authors/%s" (urlize $st.Params.content.filters.author)) }}
|
|
|
|
+ {{ $query = $query | intersect $archive_page.Pages }}
|
|
|
|
+{{ end }}
|
|
{{ if $st.Params.content.filters.exclude_featured }}
|
|
{{ if $st.Params.content.filters.exclude_featured }}
|
|
{{ $query = where $query "Params.featured" "!=" true }}
|
|
{{ $query = where $query "Params.featured" "!=" true }}
|
|
{{ end }}
|
|
{{ end }}
|