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

@ -9,7 +9,7 @@
</ul> </ul>
<section> <section>
<h2 class="text-4xl my-8 font-iosevka text-center">Other Topics</h2> <h2 class="text-2xl my-8 font-bold text-center">Other Topics</h2>
<div class="tag-cloud font-iosevka text-gray-600"> <div class="tag-cloud font-iosevka text-gray-600">
{{ $tags := .Site.Taxonomies.tags }} {{ $tags := .Site.Taxonomies.tags }}
{{ range $tag, $pages := $tags }} {{ range $tag, $pages := $tags }}

View File

@ -11,7 +11,7 @@
{{ if gt .Site.Taxonomies.facilitator 1 }} {{ if gt .Site.Taxonomies.facilitator 1 }}
<section> <section>
<h2 class="text-4xl my-8 font-iosevka text-center">Other Facilitators</h2> <h2 class="text-4xl my-8 font-bold text-center">Other Facilitators</h2>
<div class="tag-cloud font-iosevka text-gray-600"> <div class="tag-cloud font-iosevka text-gray-600">
{{ range $facilitator, $pages := .Site.Taxonomies.facilitator }} {{ range $facilitator, $pages := .Site.Taxonomies.facilitator }}
{{ if ne $facilitator $.Title }} {{ if ne $facilitator $.Title }}

View File

@ -7,32 +7,12 @@
<aside class="max-w-prose w-1/4 flex flex-col gap-8 mb-8"> <aside class="max-w-prose w-1/4 flex flex-col gap-8 mb-8">
<section> <section>
<h2 class="text-4xl mb-4 font-iosevka">About</h2> <h2 class="text-2xl mb-4 font-bold">About</h2>
{{ .Content }} {{ .Content }}
</section> </section>
<section> <section>
<h2 class="text-4xl mb-4 font-iosevka">Narrators</h2> <h2 class="text-2xl mb-4 font-bold">Topics</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>
<div class="tag-cloud font-iosevka text-gray-600 text-sm"> <div class="tag-cloud font-iosevka text-gray-600 text-sm">
{{ $tags := .Site.Taxonomies.tags }} {{ $tags := .Site.Taxonomies.tags }}
{{ range $tag, $pages := $tags }} {{ range $tag, $pages := $tags }}

View File

@ -10,7 +10,7 @@
</ul> </ul>
<section> <section>
<h2 class="text-4xl my-8 font-iosevka text-center">Other Narrators</h2> <h2 class="text-4xl my-8 font-bold text-center">Other Narrators</h2>
<div class="tag-cloud font-iosevka text-gray-600 text-center"> <div class="tag-cloud font-iosevka text-gray-600 text-center">
{{ $narrators := .Site.Taxonomies.narrator }} {{ $narrators := .Site.Taxonomies.narrator }}
{{ range $narrator, $pages := $narrators }} {{ range $narrator, $pages := $narrators }}

View File

@ -1,5 +1,5 @@
<section> <section>
<h2 class="text-4xl mb-4 font-iosevka">Facilitators</h2> <h2 class="text-4xl mb-4">Facilitators</h2>
<div class="tag-cloud font-iosevka text-gray-600"> <div class="tag-cloud font-iosevka text-gray-600">
{{ $facilitators := slice }} {{ $facilitators := slice }}
{{ range .Site.RegularPages }} {{ range .Site.RegularPages }}

View File

@ -29,7 +29,7 @@
{{- if gt (len $finalArticles) 0 -}} {{- if gt (len $finalArticles) 0 -}}
<div class="related-articles flex flex-col gap-4"> <div class="related-articles flex flex-col gap-4">
<h2 class="title text-3xl">Related Articles</h2> <h2 class="title text-3xl font-bold">Related Articles</h2>
<ul class="flex flex-col gap-4 w-full"> <ul class="flex flex-col gap-4 w-full">
{{ partial "article-list" (dict "Pages" $finalArticles) }} {{ partial "article-list" (dict "Pages" $finalArticles) }}
</ul> </ul>

View File

@ -1,5 +1,5 @@
{{- if .Params.tags }} {{- if .Params.tags }}
<div class="flex flex-wrap gap-2 my-2 text-xs"> <div class="flex flex-wrap gap-2 my-2 text-xs font-iosevka">
{{- range .Params.tags }} {{- range .Params.tags }}
<a href="{{ "tags/" | relURL }}{{ . | urlize }}" <a href="{{ "tags/" | relURL }}{{ . | urlize }}"
class="px-3 py-1 border border-green-100 hover:bg-green-300 text-green-900 rounded no-underline"> class="px-3 py-1 border border-green-100 hover:bg-green-300 text-green-900 rounded no-underline">