{% comment %} The default Open Graph card. Copy this file into your own project to customise it, for example to templates/og/post.html, and point HTML2IMG["TEMPLATE"] (or a per-model `template=` registration option) at it. The context available here: object the model instance being rendered (None in a sample preview) og_headline the headline, from og_image_headline or the object's title og_subtitle the optional second line site_name HTML2IMG["SITE_NAME"], or the current Site's name site_logo HTML2IMG["SITE_LOGO"], an absolute URL plus anything returned by the object's og_image_context() and by the `context` callable given at registration. Guard your own fields with {% if %} so one template can serve several models. Everything referenced here is fetched by the renderer over the public internet, so fonts, images and stylesheets must be reachable from outside your network. {% endcomment %}
{% if site_logo %} {{ site_name }} {% else %} {{ site_name }} {% endif %}
{{ og_headline }}
{% if og_subtitle %}
{{ og_subtitle }}
{% endif %}
{% if author %}{{ author }}{% endif %} {% if author and date %}{% endif %} {% if date %}{{ date|date:"j M Y" }}{% endif %}
{% if image %}
{% endif %}