converts tags to topics
This commit is contained in:
@ -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 }}
|
||||
|
@ -9,7 +9,7 @@
|
||||
</ul>
|
||||
|
||||
<section>
|
||||
<h2 class="text-4xl my-8 font-bold text-center">Other {{ .Data.Plural | title }}</h2>
|
||||
<h2 class="text-4xl my-8 font-bold text-center">Other {{ .Data.Plural }}</h2>
|
||||
<div class="tag-cloud font-iosevka text-gray-600 text-center">
|
||||
{{ $terms := index .Site.Taxonomies .Data.Plural }}
|
||||
{{ range $term, $pages := $terms }}
|
||||
|
Reference in New Issue
Block a user