accomodate authors as taxonomy #34

Merged
aadil merged 3 commits from r/konfluks:master into master 2022-05-27 11:24:33 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 3b390d1ecb - Show all commits

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 %}]