oduwsdl / raintale

A Python utility for publishing a social media story built from archived web pages to multiple services.
https://oduwsdl.github.io/raintale
MIT License
11 stars 3 forks source link

New Preset Request: Tweets with Imagereel #11

Open shawnmjones opened 5 years ago

shawnmjones commented 5 years ago

This is a request for a new template to be included with Raintale.

Storyteller: Twitter

Template code is below:

{# RAINTALE MULTIPART TEMPLATE #}
{# RAINTALE TITLE PART #}
{{ title }}

{% if generated_by is not none %}Story By: {{ generated_by }}{% endif %}

{% if collection_url is not none %}{{ collection_url }}{% endif %}
{# RAINTALE ELEMENT PART #}

{{ element.surrogate.title }}

{{ element.surrogate.memento_datetime }}

{{ element.surrogate.urim }}

{# RAINTALE ELEMENT MEDIA #}
{{ element.surrogate.imagereel }}