adjust templates to new taxonomy

This commit is contained in:
rra
2022-09-15 18:37:25 +02:00
parent 0ecc0ecd3a
commit a4f749ebd7
5 changed files with 8 additions and 10 deletions

View File

@ -1,10 +1,8 @@
---
date: {{ post_metadata.created_at }} #2021-06-10T10:46:33+02:00
draft: false
authors: ["{{ post_metadata.account.display_name }}"]
contributors: ["{{ post_metadata.account.acct}}"]
contributors: ["{{ post_metadata.account.display_name }}"]
avatar: {{ post_metadata.account.avatar }}
categories: ["shouts"]
title: {{ post_metadata.account.display_name }}
tags: [{% for i in post_metadata.tags %} "{{ i.name }}", {% endfor %}]
images: [{% for i in post_metadata.media_attachments %}{% if i.type == "image" %}"{{ i.url | localize_media_url }}", {%endif%}{% endfor %}]