This reverts commit c2189ef133.
This commit is contained in:
Christoph Cullmann 2025-07-18 21:43:20 +02:00
parent c2189ef133
commit fc43dba964
No known key found for this signature in database
540 changed files with 29285 additions and 6036 deletions

View file

@ -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 }}
<h2 class="mt-8 text-2xl font-extrabold mb-10">{{ i18n "article.related_articles" | emojify }}</h2>
<section class="w-full grid gap-4 sm:grid-cols-2 md:grid-cols-3">
{{ range . }}
{{ partial "article-link/card-related.html" . }}
{{ end }}
</section>
{{ end }}
{{ end }}