forked from ruangrupa/konfluks
feat: add opengraph generation for social and tv
This commit is contained in:
parent
7e45112280
commit
eaadfd2023
@ -4,6 +4,8 @@ draft: false
|
|||||||
author: "{{ post_metadata.account.display_name }}"
|
author: "{{ 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 %}]
|
||||||
|
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 %}]
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@ video_duration: "{{ v.duration | duration }} "
|
|||||||
video_channel: "{{ v.channel.display_name }}"
|
video_channel: "{{ v.channel.display_name }}"
|
||||||
channel_url: "{{ v.channel.url }}"
|
channel_url: "{{ v.channel.url }}"
|
||||||
preview_image: "{{ preview_image }}"
|
preview_image: "{{ preview_image }}"
|
||||||
|
images: ["./{{ preview_image }}"]
|
||||||
categories: ["tv","{{ v.channel.display_name }}"]
|
categories: ["tv","{{ v.channel.display_name }}"]
|
||||||
is_live: {{ v.is_live }}
|
is_live: {{ v.is_live }}
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user