converts tags to topics
This commit is contained in:
10
layouts/partials/topics.html
Normal file
10
layouts/partials/topics.html
Normal file
@ -0,0 +1,10 @@
|
||||
{{- if .Params.topics }}
|
||||
<div class="flex flex-wrap gap-2 my-2 text-xs font-iosevka">
|
||||
{{- range .Params.topics }}
|
||||
<a href="{{ "topics/" | relURL }}{{ . | urlize }}"
|
||||
class="px-3 py-1 border border-green-100 hover:bg-green-300 text-green-900 rounded no-underline">
|
||||
{{ . }}
|
||||
</a>
|
||||
{{- end }}
|
||||
</div>
|
||||
{{- end }}
|
Reference in New Issue
Block a user