converts tags to topics

This commit is contained in:
Drew
2025-04-07 15:41:29 -06:00
parent 75114cdbbe
commit 67866adb1a
15 changed files with 27 additions and 27 deletions

View File

@ -30,8 +30,8 @@
{{ end }}
<meta name="description" content="{{ $description }}" />
{{/* Generate keywords from tags */}}
{{ with .Params.tags }}
{{/* Generate keywords from topics */}}
{{ with .Params.topics }}
<meta name="keywords" content="{{ delimit . ", " }}" />
{{ end }}
@ -60,14 +60,14 @@
<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" />
{{ with .Params.tags }}
{{ with .Params.topics }}
{{ range . }}
<meta property="article:tag" content="{{ . }}" />
{{ 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 }}
<meta name="author" content="{{ . }}" />
{{ end }}