summaryrefslogtreecommitdiff
path: root/templates/blog-page.html
blob: 00eecf83266ace76f53d92af4d6b7a8c0760a606 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{% extends "base.html" %}

{% block meta_content %}
    {% if page.title %}
    <meta property="og:title" content="soaos" />
    <meta name="description" content="{{ page.title | safe }}" />
    <meta property="og:description" content="{{ page.title | safe }}" />
    {% else %}
    <meta property="og:title" content="soaos" />
    {% endif %}
    {% if page.extra.coverimage %}
        <meta property="og:image" content="{{ current_url | safe }}/{{ page.extra.coverimage | safe }}"/>
        <meta name="twitter:card" content="summary_large_image"/>
    {% endif %}
{% endblock meta_content %}

{% block content %}
<a href="{{ get_url(path='@/blog/_index.md') }}"> <- back to posts</a>
<h1 class="title">
	{{ page.title }}
</h1>
    <p class="subtitle"><strong>{{ page.date }} - reading time: {{ page.reading_time }} minutes</strong></p>
{{ page.content | safe }}
{% endblock content %}