forked from ruangrupa/konfluks
Merge pull request 'feat: add opengraph generation for social and tv' (#23) from knoflook/lumbunglib:master into master
Reviewed-on: ruangrupa/lumbunglib#23
This commit is contained in:
commit
1fe2fa3bcf
@ -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