{% extends "base.html" %} {# Additional metadata for Google #} {% block head %} {{ super() }} {% if page.description and page.date %} <script type="application/ld+json"> {# Import our template file #} {% set template = load_data(path="jsonld_templates/blog_post.jsonld") %} {# Now we can fill in any additional data #} {{ template | replace(from="{{url}}", to=config.base_url ~ page.path) | replace(from="{{title}}", to=page.title) | replace(from="{{date}}", to=page.date) | replace(from="{{profile_pic}}", to=config.extra.profile_photo) | safe }} </script> {% endif %} {% endblock head %} {# Pass data through to the base template #} {% block variable_wormhole %} {{ super() }} {% set title = page.title %} {% set description = page.description %} {% set is_article = true %} {% if page.extra.uses %} {% set feature_flags = page.extra.uses %} {% endif %} {% if page.extra.redir_to %} {% set redirect_target = page.extra.redir_to %} {% endif %} {% if page.extra.opengraph %} {% set opengraph = page.extra.opengraph %} {% endif %} {% endblock variable_wormhole %} {# Page content #} {% block page_start %} {% include "components/heading-card.html" %} {% endblock page_start %} {% block content %} <h1 style="margin-bottom:0;padding-bottom:0;text-align:left;">{{page.title}}</h1> {% if page.description %} <em style="text-align:left;">{{page.description}}</em> <br> {% endif %} <br> {{ page.content | safe }} {% endblock content %}