{% extends "base.html" %} {% block title %}{{ page.title }} | {{ config.title }}{% endblock title %} {% block description %}{{ page.description | default(value=config.description) }}{% endblock description %} {% block canonical %}{{ page.permalink }}{% endblock canonical %} {# Open Graph overrides for article pages #} {% block og_title %}{{ page.title }}{% endblock og_title %} {% block og_description %}{{ page.description | default(value=config.description) }}{% endblock og_description %} {% block og_url %}{{ page.permalink }}{% endblock og_url %} {% block og_type %}{% if page.ancestors is containing("posts/_index.md") %}article{% else %}website{% endif %}{% endblock og_type %} {% block og_image %}{{ config.base_url }}{{ page.extra.image | default(value="/images/og-image.png") }}{% endblock og_image %} {% block og_extra %} {% if page.ancestors is containing("posts/_index.md") %} {% if page.date %}{% endif %} {% if page.updated %}{% endif %} {% if page.taxonomies.tags %} {% for tag in page.taxonomies.tags %} {% endfor %} {% endif %} {% endif %} {% endblock og_extra %} {# Twitter Card overrides #} {% block twitter_title %}{{ page.title }}{% endblock twitter_title %} {% block twitter_description %}{{ page.description | default(value=config.description) }}{% endblock twitter_description %} {% block twitter_image %}{{ config.base_url }}{{ page.extra.image | default(value="/images/og-image.png") }}{% endblock twitter_image %} {% block head %} {% if page.ancestors is containing("posts/_index.md") %} {% else %} {% endif %} {% if page.extra.math %} {% endif %} {% if page.extra.mermaid %} {% endif %} {% if page.toc %} {% endif %} {% endblock head %} {% block content %}