2023-02-04 02:23:51 -08:00
{% extends "base.html" %}
{% block title %}{{ title }}{% endblock %}
2023-02-08 01:45:31 -08:00
{% block opengraph %}
< meta property = "og:type" content = "article" / >
< meta property = "og:title" content = "{{ title }}" / >
{% match featured_image %}
{% when Some with (featured_image) %}
< meta property = "og:image" content = "{{ featured_image.url }}" / >
{% when None %}
{% endmatch %}
{% match summary %}
{% when Some with (summary_content) %}
< meta property = "og:description" content = "{{ summary_content }}" / >
{% when None %}
< meta property = "og:description" content = "A page on {{ settings.site_name }}" / >
{% endmatch %}
< meta property = "og:article:published_time" content = "{{ publish_date }}" / >
{% match last_updated %}
{% when Some with (last_updated_date) %}
< meta property = "og:article:modified_time" content = "{{ last_updated_date }}" / >
{% when None %}
{% endmatch %}
{% endblock %}
2023-02-04 02:23:51 -08:00
{% block description %}
{% match summary %}
{% when Some with (summary_content) %}
{{ summary_content }}
{% when None %}
2023-02-05 04:13:50 -08:00
A post on {{ settings.site_name }}
2023-02-04 02:23:51 -08:00
{% endmatch %}
{% endblock %}
{% block content %}
2023-02-04 19:24:12 -08:00
{% if draft == true -%}
< blockquote >
⚠️ This post is marked as a < b > draft< / b > ! It may not yet be complete!
< / blockquote >
{% endif -%}
2023-02-04 02:23:51 -08:00
< h1 > {{ title }}< / h1 >
{% match summary %}
{% when Some with (summary_content) %}
2023-02-05 00:32:07 -08:00
< b > {{ summary_content }}< / b >
2023-02-04 02:23:51 -08:00
{% when None %}
{% endmatch %}
{% match last_updated %}
{% when Some with (last_updated_date) %}
< p > Published: {{ publish_date }} | Last updated: {{ last_updated_date }}< / p >
{% when None %}
< p > Published: {{ publish_date }}< / p >
{% endmatch %}
< br / >
2023-02-07 05:50:38 -08:00
{% match featured_image %}
{% when Some with (featured_image) %}
< div class = "featured-image" >
< img class = "featured-image"
src="{{ featured_image.url }}"
{% match featured_image.alt %}
{% when Some with (alt) %}
alt="{{ alt }}"
{% when None %}
{% endmatch %}
/>
{% match featured_image.description %}
{% when Some with (image_description) %}
< p class = "featured-image" > {{ image_description }}< / p >
{% when None %}
{% endmatch %}
< / div >
< br / >
{% when None %}
{% endmatch %}
2023-02-04 18:42:08 -08:00
{% for content_block in content_blocks %}
2023-02-07 03:37:29 -08:00
{% include "resolve_content.html" %}
2023-02-04 02:23:51 -08:00
{% endfor %}
< br / >
{% endblock %}