diff options
author | mms <michal@sapka.me> | 2024-02-03 22:13:22 +0100 |
---|---|---|
committer | mms <michal@sapka.me> | 2024-02-03 22:13:22 +0100 |
commit | 2b7b880b2c270470b91b66f7cdb99c41b2335b3a (patch) | |
tree | be7bbb3813f484e8952dfb78afb5dd3571622731 /layouts/shortcodes/recent-updates.html | |
parent | 05e393ca83946a5501111496727196732bfe0354 (diff) |
feat: gitea
Diffstat (limited to 'layouts/shortcodes/recent-updates.html')
-rw-r--r-- | layouts/shortcodes/recent-updates.html | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/layouts/shortcodes/recent-updates.html b/layouts/shortcodes/recent-updates.html index 959ebf5..027f3bd 100644 --- a/layouts/shortcodes/recent-updates.html +++ b/layouts/shortcodes/recent-updates.html @@ -5,12 +5,13 @@ <nav> {{- range - (where .Site.RegularPages ".Params.category" "intersect" $filter).ByDate.Reverse }} + (where .Site.RegularPages ".Params.Categories" "intersect" $filter).ByDate.Reverse }} {{ partial "partials/article_list_item.html" . }} {{- end }} - + {{- range - (where .Site.RegularPages ".Params.Categories" "intersect" $filter).ByDate.Reverse }} + (where .Site.RegularPages ".Params.category" "intersect" $filter).ByDate.Reverse }} {{ partial "partials/article_list_item.html" . }} {{- end }} + </nav> |