Converted 'article' nomenclature to 'interview'

This commit is contained in:
Nathan Schneider
2025-04-30 22:55:43 -06:00
parent f7bbe50ff7
commit 7ef9e26166
27 changed files with 92 additions and 92 deletions

View File

@ -37,7 +37,7 @@
<!-- Open Graph / Facebook -->
<meta property="og:site_name" content="{{ .Site.Title }}" />
<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}" />
<meta property="og:type" content="{{ if .IsPage }}interview{{ else }}website{{ end }}" />
<meta property="og:url" content="{{ .Permalink }}" />
<meta property="og:title" content="{{ $title }}" />
<meta property="og:description" content="{{ $description }}" />
@ -53,18 +53,18 @@
<meta name="twitter:image" content="{{ . | absURL }}" />
{{ end }}
<!-- Article Specific -->
{{ if and .IsPage (eq .Type "articles") }}
<meta property="article:published_time" content="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}" />
<meta property="article:modified_time" content="{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" }}" />
<meta property="article:section" content="Oral History" />
<!-- Interview Specific -->
{{ if and .IsPage (eq .Type "interviews") }}
<meta property="interview:published_time" content="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}" />
<meta property="interview:modified_time" content="{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" }}" />
<meta property="interview:section" content="Oral History" />
{{ with .Params.topics }}
{{ range . }}
<meta property="article:tag" content="{{ . }}" />
<meta property="interview:tag" content="{{ . }}" />
{{ end }}
{{ end }}
{{/* Author information using standard meta topics instead of article:author */}}
{{/* Author information using standard meta topics instead of interview:author */}}
{{ with .Params.narrator }}
<meta name="author" content="{{ . }}" />
{{ end }}

View File

@ -1,5 +1,5 @@
{{ define "main" }}
<article class="single-default">
<interview class="single-default">
<header class="mb-8 wompum-container wompum-container--wide-gap aspect-3/1 md:aspect-4/1">
<div class="wompum-grid" data-text="{{ .Params.wompum | default .Title }}" data-columns="7" data-rows="5"></div>
</header>
@ -15,5 +15,5 @@
{{ end }}
{{ end }}
</div>
</article>
</interview>
{{ end }}

View File

@ -5,7 +5,7 @@
</header>
<main class="flex flex-wrap container mx-auto justify-center">
<ul class="flex flex-col md:gap-4 gap-16 w-full mb-16 mt-4">
{{ partial "article-list.html" (dict "Pages" .Data.Pages) }}
{{ partial "interview-list.html" (dict "Pages" .Data.Pages) }}
</ul>
{{ if gt (len (index .Site.Taxonomies .Data.Singular)) 1 }}