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 }}