adjust templates to new taxonomy #43
@ -2,7 +2,7 @@
|
|||||||
title: "{{ event.name }}"
|
title: "{{ event.name }}"
|
||||||
date: "{{ event.begin }}" #2021-06-10T10:46:33+02:00
|
date: "{{ event.begin }}" #2021-06-10T10:46:33+02:00
|
||||||
draft: false
|
draft: false
|
||||||
categories: "calendar"
|
source: "lumbung calendar"
|
||||||
event_begin: "{{ event.begin }}"
|
event_begin: "{{ event.begin }}"
|
||||||
event_end: "{{ event.end }}"
|
event_end: "{{ event.end }}"
|
||||||
duration: "{{ event.duration }}"
|
duration: "{{ event.duration }}"
|
||||||
|
@ -3,11 +3,11 @@ 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 }}"
|
||||||
authors: {% if frontmatter.author %} ["{{ frontmatter.author }}"] {% endif %}
|
contributors: {% if frontmatter.author %} ["{{ frontmatter.author }}"] {% endif %}
|
||||||
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}}"]
|
card_type: "{{ frontmatter.card_type }}"
|
||||||
contributors: ["{{ frontmatter.feed_name}}"]
|
sources: ["{{ frontmatter.feed_name}}"]
|
||||||
tags: {{ frontmatter.tags }}
|
tags: {{ frontmatter.tags }}
|
||||||
{% if frontmatter.featured_image %}featured_image: "{{frontmatter.featured_image}}"{% endif %}
|
{% if frontmatter.featured_image %}featured_image: "{{frontmatter.featured_image}}"{% endif %}
|
||||||
---
|
---
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
---
|
---
|
||||||
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
|
||||||
authors: ["{{ post_metadata.account.display_name }}"]
|
contributors: ["{{ post_metadata.account.display_name }}"]
|
||||||
contributors: ["{{ post_metadata.account.acct}}"]
|
|
||||||
avatar: {{ post_metadata.account.avatar }}
|
avatar: {{ post_metadata.account.avatar }}
|
||||||
categories: ["shouts"]
|
|
||||||
title: {{ post_metadata.account.display_name }}
|
title: {{ post_metadata.account.display_name }}
|
||||||
tags: [{% for i in post_metadata.tags %} "{{ i.name }}", {% endfor %}]
|
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 %}]
|
images: [{% for i in post_metadata.media_attachments %}{% if i.type == "image" %}"{{ i.url | localize_media_url }}", {%endif%}{% endfor %}]
|
||||||
|
@ -3,10 +3,10 @@ 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 }}"
|
||||||
authors: {% if frontmatter.author %} ["{{ frontmatter.author }}"] {% endif %}
|
contributors: {% if frontmatter.author %} ["{{ frontmatter.author }}"] {% endif %}
|
||||||
original_link: "{{ frontmatter.original_link }}"
|
original_link: "{{ frontmatter.original_link }}"
|
||||||
feed_name: "{{ frontmatter.feed_name}}"
|
feed_name: "{{ frontmatter.feed_name}}"
|
||||||
categories: ["timeline", "{{ frontmatter.feed_name}}"]
|
sources: ["timeline", "{{ frontmatter.feed_name}}"]
|
||||||
timelines: {{ frontmatter.timelines }}
|
timelines: {{ frontmatter.timelines }}
|
||||||
hidden: true
|
hidden: true
|
||||||
---
|
---
|
||||||
|
@ -9,7 +9,7 @@ channel_url: "{{ v.channel.url }}"
|
|||||||
contributors: ["{{ v.account.display_name }}"]
|
contributors: ["{{ v.account.display_name }}"]
|
||||||
preview_image: "{{ preview_image }}"
|
preview_image: "{{ preview_image }}"
|
||||||
images: ["./{{ preview_image }}"]
|
images: ["./{{ preview_image }}"]
|
||||||
categories: ["tv","{{ v.channel.display_name }}"]
|
sources: ["{{ v.channel.display_name }}"]
|
||||||
is_live: {{ v.is_live }}
|
is_live: {{ v.is_live }}
|
||||||
---
|
---
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user