summaryrefslogtreecommitdiffstats
path: root/templates/page.html
blob: 809c30c3f013ec96c4b852a57419c6c367fe77df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{% extends "base.html" %}

{% block opengraph %}
	  <meta name="description" content="{{ page.summary | default(value=page.content) | striptags | trim | truncate(length=200) }}">
		<meta property="og:title" content="{{ page.title }}">
		<meta property="og:type" content="article">
		<meta property="og:url" content="{{ page.permalink | safe }}">
	  <meta property="og:description" content="{{ page.summary | default(value=page.content) | striptags | trim | truncate(length=200) }}">
{% endblock opengraph %}

{% block language %}
	{% set translations = page.translations %}
	{% include "translation-links.html" %}
{% endblock langauge %}

{% block content %}
{% set post = page -%}
<article class="post">
	{% include "posts/header.html" %}
	<section class="post-body">
		{{ post.content | safe }}
	</section>
	<footer>
		{% include "license.html" %}
	</footer>
</article>
{% endblock content %}