Merge pull request 'accomodate authors as taxonomy' (#34) from r/lumbunglib:master into master

Reviewed-on: ruangrupa/lumbunglib#34
This commit is contained in:
Aadil Ayub 2022-05-27 13:24:32 +02:00
commit 2ca61c6197
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 %}