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 --- themes/blowfish/layouts/partials/related.html | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 themes/blowfish/layouts/partials/related.html (limited to 'themes/blowfish/layouts/partials/related.html') diff --git a/themes/blowfish/layouts/partials/related.html b/themes/blowfish/layouts/partials/related.html new file mode 100644 index 0000000..f24f86c --- /dev/null +++ b/themes/blowfish/layouts/partials/related.html @@ -0,0 +1,11 @@ +{{ if .Params.showRelatedContent | default (.Site.Params.article.showRelatedContent | default false)}} +{{ $related := .Site.RegularPages.Related . | first .Site.Params.article.relatedContentLimit }} +{{ with $related }} +

{{ i18n "article.related_articles" | emojify }}

+
+ {{ range . }} + {{ partial "article-link/card-related.html" . }} + {{ end }} +
+{{ end }} +{{ end }} \ No newline at end of file -- cgit v1.2.3