diff --git a/config.toml b/config.toml index 82e0c36..b8a4070 100644 --- a/config.toml +++ b/config.toml @@ -4,7 +4,7 @@ title = 'Protocol Oral History Project' theme = "hugo-starter-tailwind-basic" [taxonomies] - tag = "tags" + topics = "topics" narrator = "narrator" facilitator = "facilitator" diff --git a/content/articles/dorsey-the_gut.md b/content/articles/dorsey-the_gut.md index 47b90ec..c173e1e 100644 --- a/content/articles/dorsey-the_gut.md +++ b/content/articles/dorsey-the_gut.md @@ -6,7 +6,7 @@ date: 2025-03-18 approved: 2025-03-20 summary: "Drawing on many ancestral traditions and the experience of her own body, Asia Dorsey learns and teaches the pattern language of a healthy gut." location: "Denver CO" -tags: [ancestors, food, health, indigeneity] +topics: [ancestors, food, health, indigeneity] headshot: "/headshots/placeholder-headshot.png" links: - text: "Bugs Bones & Botany" diff --git a/content/articles/ehmke-contributor_covenant.md b/content/articles/ehmke-contributor_covenant.md index 4aaec4b..11f151a 100644 --- a/content/articles/ehmke-contributor_covenant.md +++ b/content/articles/ehmke-contributor_covenant.md @@ -7,7 +7,7 @@ approved: 2024-10-11 summary: "After widespread resistance to codes of conduct in open-source software communities, Coraline Ada Ehmke's Contributor Covenant became the most popular code of conduct in the ecosystem." location: "Chicago, USA" headshot: "/headshots/placeholder-headshot.png" -tags: [code of conduct, dispute resolution, gender, open source, organizations, software] +topics: [code of conduct, dispute resolution, gender, open source, organizations, software] --- *First of all, I want to begin with the question of how you how you prefer to introduce yourself.* diff --git a/content/articles/kiessel-good_market.md b/content/articles/kiessel-good_market.md index 2ecc1fa..4d559f9 100644 --- a/content/articles/kiessel-good_market.md +++ b/content/articles/kiessel-good_market.md @@ -7,7 +7,7 @@ approved: 2024-12-16 summary: "Good Market is a digital commons for enterprises that prioritize people and the planet over profit. It enables communities to set and enforce their own standards for doing business." location: "Sri Lanka / United States" headshot: "/headshots/placeholder-headshot.png" -tags: [economics, organizations, ecology, standards] +topics: [economics, organizations, ecology, standards] --- *I want to begin with the question of how you like to introduce yourself. How do you introduce yourself to somebody you've just met? Where do you begin?* diff --git a/content/articles/littauer-constructed_languages.md b/content/articles/littauer-constructed_languages.md index ffd5db1..928aacf 100644 --- a/content/articles/littauer-constructed_languages.md +++ b/content/articles/littauer-constructed_languages.md @@ -7,7 +7,7 @@ approved: 2025-02-11 summary: "Constructed languages, or conlangs, are the basis of a hobby, a science, and a community that now occupies a small corner of the entertainment industry." location: "Wellington, NZ" headshot: "/headshots/placeholder-headshot.png" -tags: [fiction, gender, language, open source, software] +topics: [fiction, gender, language, open source, software] --- *Can you tell me a bit about how you like to introduce yourself?* diff --git a/content/articles/mannan-diplomatic_protocols.md b/content/articles/mannan-diplomatic_protocols.md index 4279ad8..b8bc83a 100644 --- a/content/articles/mannan-diplomatic_protocols.md +++ b/content/articles/mannan-diplomatic_protocols.md @@ -7,7 +7,7 @@ approved: 2025-03-04 summary: "A diplomat for Bangladesh describes the role of protocol in high-profile international visits and treaty negotiations." location: "Dhaka, Bangladesh" headshot: "/headshots/placeholder-headshot.png" -tags: [diplomacy, government, friendship] +topics: [diplomacy, government, friendship] --- *How do you introduce yourself?* diff --git a/content/articles/prodromou-distributed_social_networks.md b/content/articles/prodromou-distributed_social_networks.md index 0055cc7..b9d35f2 100644 --- a/content/articles/prodromou-distributed_social_networks.md +++ b/content/articles/prodromou-distributed_social_networks.md @@ -12,7 +12,7 @@ links: url: https://evanp.me/ - text: "ActivityPub: Programming the Social Web" url: https://www.oreilly.com/library/view/activitypub/9781098162733/ -tags: [decentralization, open source, organizations, social media, software, standards] +topics: [decentralization, open source, organizations, social media, software, standards] --- *How do you introduce yourself?* diff --git a/content/articles/zargham-ultimate_frisbee.md b/content/articles/zargham-ultimate_frisbee.md index da6ad26..93b0c50 100644 --- a/content/articles/zargham-ultimate_frisbee.md +++ b/content/articles/zargham-ultimate_frisbee.md @@ -7,7 +7,7 @@ approved: 2024-12-02 summary: "As a sport often played with no referees, ultimate frisbee has developed a strong set of norms for addressing conflict and self-governing." location: "East Greenbush, NY USA" headshot: "/headshots/placeholder-headshot.png" -tags: [frisbee, sports, organizations, dispute resolution] +topics: [frisbee, sports, organizations, dispute resolution] --- *How do you like to introduce yourself to people as you encounter them in the world?* diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index f9b92d8..7a84cf0 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -30,8 +30,8 @@ {{ end }} - {{/* Generate keywords from tags */}} - {{ with .Params.tags }} + {{/* Generate keywords from topics */}} + {{ with .Params.topics }} {{ end }} @@ -60,14 +60,14 @@ - {{ with .Params.tags }} + {{ with .Params.topics }} {{ range . }} {{ end }} {{ end }} - {{/* Author information using standard meta tags instead of article:author */}} + {{/* Author information using standard meta topics instead of article:author */}} {{ with .Params.narrator }} {{ end }} diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html index 69ab4ec..7af1b29 100644 --- a/layouts/_default/taxonomy.html +++ b/layouts/_default/taxonomy.html @@ -9,7 +9,7 @@
-

Other {{ .Data.Plural | title }}

+

Other {{ .Data.Plural }}

{{ $terms := index .Site.Taxonomies .Data.Plural }} {{ range $term, $pages := $terms }} diff --git a/layouts/articles/single.html b/layouts/articles/single.html index 5870450..8f55797 100644 --- a/layouts/articles/single.html +++ b/layouts/articles/single.html @@ -20,7 +20,7 @@ {{ if .Params.location }}

Location: {{ .Params.location }}

{{ end }} -

Topics: {{ partial "tags.html" . }}

+

Topics: {{ partial "topics.html" . }}

{{ if .Params.links }}

Narrator Links:

@@ -41,7 +41,7 @@
{{ end }} \ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html index e20416b..25665e9 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -14,9 +14,9 @@

Topics

- {{ $tags := .Site.Taxonomies.tags }} - {{ range $tag, $pages := $tags }} - {{ $tag }} diff --git a/layouts/partials/article-list.html b/layouts/partials/article-list.html index a2dfe92..f1c5368 100644 --- a/layouts/partials/article-list.html +++ b/layouts/partials/article-list.html @@ -17,7 +17,7 @@

{{ $page.Params.location }}

{{ end }}

{{ $page.Params.summary }}

- {{ partial "tags.html" $page }} + {{ partial "topics.html" $page }}
{{ end }} diff --git a/layouts/partials/related-articles.html b/layouts/partials/related-articles.html index b4ad7ed..5134ef7 100644 --- a/layouts/partials/related-articles.html +++ b/layouts/partials/related-articles.html @@ -1,15 +1,15 @@ -{{- $tags := .tags -}} +{{- $topics := .topics -}} {{- $limit := default 3 .limit -}} {{- $currentPath := .page.RelPermalink -}} {{- $related := where (where site.RegularPages "Type" "articles") "RelPermalink" "!=" $currentPath -}} {{- $matchingArticles := slice -}} -{{/* First try to find articles with matching tags */}} +{{/* First try to find articles with matching topics */}} {{- range $related -}} {{- $matches := 0 -}} - {{- range .Params.tags -}} - {{- if in $tags . -}} + {{- range .Params.topics -}} + {{- if in $topics . -}} {{- $matches = add $matches 1 -}} {{- end -}} {{- end -}} @@ -18,7 +18,7 @@ {{- end -}} {{- end -}} -{{/* If we found matching articles, sort by number of matching tags */}} +{{/* If we found matching articles, sort by number of matching topics */}} {{- $finalArticles := slice -}} {{- if gt (len $matchingArticles) 0 -}} {{- $finalArticles = first $limit (sort $matchingArticles "matches" "desc") -}} diff --git a/layouts/partials/tags.html b/layouts/partials/topics.html similarity index 63% rename from layouts/partials/tags.html rename to layouts/partials/topics.html index 09620de..18d3a31 100644 --- a/layouts/partials/tags.html +++ b/layouts/partials/topics.html @@ -1,7 +1,7 @@ -{{- if .Params.tags }} +{{- if .Params.topics }}
- {{- range .Params.tags }} - {{ . }}