converts tags to topics
This commit is contained in:
@ -14,9 +14,9 @@
|
||||
<section>
|
||||
<h2 class="text-2xl mb-4 font-bold">Topics</h2>
|
||||
<div class="tag-cloud font-iosevka text-gray-600 text-sm">
|
||||
{{ $tags := .Site.Taxonomies.tags }}
|
||||
{{ range $tag, $pages := $tags }}
|
||||
<a href="{{ "/tags/" | relLangURL }}{{ $tag | urlize }}" style="font-size: {{ add 1 (div (len $pages) 2) }}em;" data-count="{{ len $pages}}"
|
||||
{{ $topics := .Site.Taxonomies.topics }}
|
||||
{{ range $tag, $pages := $topics }}
|
||||
<a href="{{ "/topics/" | relLangURL }}{{ $tag | urlize }}" style="font-size: {{ add 1 (div (len $pages) 2) }}em;" data-count="{{ len $pages}}"
|
||||
class="tag inline-block p-2 my-1 border border-gray-100 rounded-lg hover:bg-yellow-100 whitespace-nowrap">
|
||||
{{ $tag }}
|
||||
</a>
|
||||
|
Reference in New Issue
Block a user