Converted 'article' nomenclature to 'interview'
This commit is contained in:
@ -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 }}
|
||||
|
Reference in New Issue
Block a user