{#This template is for syndicating across the fucked up part of the web. It implements Open Graph and Twitter Card metadata to display links to HBSC well on social media
# This code is mostly taken from Talha Mansoor's Elegant pelican theme https://github.com/talha131/pelican-elegant
#}
{# Thumbnail image to show when homepage is shared on social media. It also
serves as the default image for posts whose featured_image is not set. #}
{% if not FEATURED_IMAGE %}
{% set FEATURED_IMAGE = 'https://roelof.info/~r/wttf/images/fi.jpg' %}
{% else %}
{% set FEATURED_IMAGE = FEATURED_IMAGE %}
{% endif %}
{% macro syndication(article) %}
{% if article %}
{% if article.date %}
{% endif %}
{% if article.locale_modified and article.modified %}
{% endif %}
{% if article.featured_image %}
{% else %}
{% if FEATURED_IMAGE %}
{% endif %}
{% endif %}
{% endif %}
{% if not article %}
{% if FEATURED_IMAGE %}
{% endif %}
{% endif %}
{% endmacro %}b