dynamic load articles

This commit is contained in:
kbe
2025-08-20 14:21:57 +02:00
parent 1d8f5a1f66
commit 7f958514b1
2 changed files with 79 additions and 89 deletions

View File

@@ -5,7 +5,8 @@
<div class="flex justify-center space-x-2 mb-6">
{{ with .Params.categories }}
{{ range first 2 . }}
<span class="bg-blue-100 text-blue-800 text-sm font-medium px-3 py-1 rounded-full">{{ . }}</span>
<a href="/{{ . | anchorize }}"><span class="bg-blue-100 text-blue-800 text-sm font-medium px-3 py-1 rounded-full">{{ . }}</span></a>
{{ end }}
{{ end }}
</div>