standardizing heading fonts

This commit is contained in:
Drew
2025-04-02 15:53:04 -06:00
parent 7c5307ea3f
commit 65d93c6d25
7 changed files with 8 additions and 28 deletions

View File

@@ -7,32 +7,12 @@
<aside class="max-w-prose w-1/4 flex flex-col gap-8 mb-8">
<section>
<h2 class="text-4xl mb-4 font-iosevka">About</h2>
<h2 class="text-2xl mb-4 font-bold">About</h2>
{{ .Content }}
</section>
<section>
<h2 class="text-4xl mb-4 font-iosevka">Narrators</h2>
<div class="tag-cloud font-iosevka text-gray-600">
{{ $narrators := slice }}
{{ range .Site.RegularPages }}
{{ with .Params.narrator }}
{{ $narrators = $narrators | append . }}
{{ end }}
{{ end }}
{{ $narrators = $narrators | uniq | sort }}
{{ range $narrator := $narrators }}
<a href="{{ "/narrator/" | relLangURL }}{{ $narrator | urlize }}"
class="tag inline-block p-2 my-1 border border-gray-100 rounded-lg hover:bg-yellow-100 whitespace-nowrap"
style="font-size: 1rem;">
{{ $narrator }}
</a>
{{ end }}
</div>
</section>
<section>
<h2 class="text-4xl mb-4 font-iosevka">Topics</h2>
<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 }}