adds related articles

This commit is contained in:
Drew committed 2025-03-31 11:43:25 -06:00
1 parent 46c0a96540
commit 90994d0099
4 files changed
+57 -9

No files matched your search

+5 -1
View File
@@ -15,9 +15,13 @@
<p><strong>Tags:</strong> {{ partial "tags.html" . }}</p>
</aside>
<div class="prose lg:prose-xl lg:w-2/3 p-4">
<p class="font-bold text-4xl">{{ .Params.narrator }}: {{ .Params.subject }}</p>
<p class="font-bold text-4xl">{{ partial "article-title" . }}</p>
{{ .Content }}
</div>
</div>
</article>
<aside>
{{ partial "related-articles" (dict "page" . "tags" .Params.tags "limit" 3) }}
</aside>
<div class="text-center my-12"><a href="/">Go Home</a></div>
{{ end }}