change template to authors to accomodate author taxonomy

This commit is contained in:
rra 2022-05-24 08:42:56 +02:00
parent ce3bfc58b0
commit 3b390d1ecb
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ title: "{{ frontmatter.title }}"
date: "{{ frontmatter.date }}" #2021-06-10T10:46:33+02:00 date: "{{ frontmatter.date }}" #2021-06-10T10:46:33+02:00
draft: false draft: false
summary: "{{ frontmatter.summary }}" summary: "{{ frontmatter.summary }}"
author: "{{ frontmatter.author }}" authors: ["{{ frontmatter.author }}"]
original_link: "{{ frontmatter.original_link }}" original_link: "{{ frontmatter.original_link }}"
feed_name: "{{ frontmatter.feed_name}}" feed_name: "{{ frontmatter.feed_name}}"
categories: ["{{ frontmatter.card_type }}", "{{ frontmatter.feed_name}}"] categories: ["{{ frontmatter.card_type }}", "{{ frontmatter.feed_name}}"]

View File

@ -1,7 +1,7 @@
--- ---
date: {{ post_metadata.created_at }} #2021-06-10T10:46:33+02:00 date: {{ post_metadata.created_at }} #2021-06-10T10:46:33+02:00
draft: false draft: false
author: {{ post_metadata.account.display_name }} authors: ["{{ post_metadata.account.display_name }}"]
avatar: {{ post_metadata.account.avatar }} avatar: {{ post_metadata.account.avatar }}
categories: ["shouts"] categories: ["shouts"]
images: [{% for i in post_metadata.media_attachments %} {{ i.url }}, {% endfor %}] images: [{% for i in post_metadata.media_attachments %} {{ i.url }}, {% endfor %}]