summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/recent-updates.html
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-02-03 22:13:22 +0100
committermms <michal@sapka.me>2024-02-03 22:13:22 +0100
commit2b7b880b2c270470b91b66f7cdb99c41b2335b3a (patch)
treebe7bbb3813f484e8952dfb78afb5dd3571622731 /layouts/shortcodes/recent-updates.html
parent05e393ca83946a5501111496727196732bfe0354 (diff)
feat: gitea
Diffstat (limited to 'layouts/shortcodes/recent-updates.html')
-rw-r--r--layouts/shortcodes/recent-updates.html7
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>