From 3b390d1ecbb60a8a5ed7c91efb4328d88503c50f Mon Sep 17 00:00:00 2001 From: rra Date: Tue, 24 May 2022 08:42:56 +0200 Subject: [PATCH] change template to authors to accomodate author taxonomy --- lumbunglib/templates/feed.md | 2 +- lumbunglib/templates/hashtag.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lumbunglib/templates/feed.md b/lumbunglib/templates/feed.md index ddef11d..f744bff 100644 --- a/lumbunglib/templates/feed.md +++ b/lumbunglib/templates/feed.md @@ -3,7 +3,7 @@ title: "{{ frontmatter.title }}" date: "{{ frontmatter.date }}" #2021-06-10T10:46:33+02:00 draft: false summary: "{{ frontmatter.summary }}" -author: "{{ frontmatter.author }}" +authors: ["{{ frontmatter.author }}"] original_link: "{{ frontmatter.original_link }}" feed_name: "{{ frontmatter.feed_name}}" categories: ["{{ frontmatter.card_type }}", "{{ frontmatter.feed_name}}"] diff --git a/lumbunglib/templates/hashtag.md b/lumbunglib/templates/hashtag.md index 49e2fea..bdcacba 100644 --- a/lumbunglib/templates/hashtag.md +++ b/lumbunglib/templates/hashtag.md @@ -1,7 +1,7 @@ --- date: {{ post_metadata.created_at }} #2021-06-10T10:46:33+02:00 draft: false -author: {{ post_metadata.account.display_name }} +authors: ["{{ post_metadata.account.display_name }}"] avatar: {{ post_metadata.account.avatar }} categories: ["shouts"] images: [{% for i in post_metadata.media_attachments %} {{ i.url }}, {% endfor %}]