dynamic load articles
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user