diff options
Diffstat (limited to 'layouts/partials/article_index.html')
-rw-r--r-- | layouts/partials/article_index.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/partials/article_index.html b/layouts/partials/article_index.html new file mode 100644 index 0000000..77d6db8 --- /dev/null +++ b/layouts/partials/article_index.html @@ -0,0 +1,6 @@ +{{ .Page.Content }} + +{{- $article_category := slice "article" }} +{{- range (where .Site.RegularPages ".Params.category" "intersect" $article_category) }} + {{- partial "partials/article_list_abstract_item.html" . }} +{{- end }} |