From e77051ccc4b47951bfa4fde2be436b1bb2fb113b Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 28 Apr 2024 17:33:09 +0200 Subject: use https://github.com/nunocoracao/blowfish.git --- .../layouts/partials/recent-articles/cardview-fullwidth.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 themes/blowfish/layouts/partials/recent-articles/cardview-fullwidth.html (limited to 'themes/blowfish/layouts/partials/recent-articles/cardview-fullwidth.html') diff --git a/themes/blowfish/layouts/partials/recent-articles/cardview-fullwidth.html b/themes/blowfish/layouts/partials/recent-articles/cardview-fullwidth.html new file mode 100644 index 0000000..7551e17 --- /dev/null +++ b/themes/blowfish/layouts/partials/recent-articles/cardview-fullwidth.html @@ -0,0 +1,12 @@ +{{ $recentArticles := 5 }} +{{ $recentArticles = .Site.Params.homepage.showRecentItems }} + +
+
+ {{ range first $recentArticles (.Paginate (where .Site.RegularPages "Type" "in" + .Site.Params.mainSections)).Pages }} + {{ partial "article-link/card.html" . }} + {{ end }} +
+
\ No newline at end of file -- cgit v1.2.3