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 7 additions and 7 deletions

View File

@ -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: {% if frontmatter.author %} ["{{ frontmatter.author }}"] {% endif %}
original_link: "{{ frontmatter.original_link }}"
feed_name: "{{ frontmatter.feed_name}}"
categories: ["{{ frontmatter.card_type }}", "{{ frontmatter.feed_name}}"]

View File

@ -1,12 +1,12 @@
---
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
author: "{{ post_metadata.account.display_name }}"
avatar: "{{ post_metadata.account.avatar }}"
authors: ["{{ post_metadata.account.display_name }}"]
avatar: {{ post_metadata.account.avatar }}
categories: ["shouts"]
images: [{% for i in post_metadata.media_attachments %} "{{ i.url }}", {% endfor %}]
title: "{{ post_metadata.account.display_name }}"
tags: [{% for i in post_metadata.tags %} "{{ i.name }}", {% endfor %}]
images: [{% for i in post_metadata.media_attachments %} {{ i.url }}, {% endfor %}]
title: {{ post_metadata.account.display_name }}
tags: [{% for i in post_metadata.tags %} {{ i.name }} {% endfor %}]
---
{% for item in post_metadata.media_attachments %}