forked from rust-gamedev/rust-gamedev.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.html
23 lines (19 loc) · 812 Bytes
/
page.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{% extends "index.html" %}
{% block seo %}
<title>{{ page.title }} | {{ config.title | default(value="Minima") }}</title>
<meta property="og:title" content="{{ page.title }}">
<meta property="og:url" content="{{ page.permalink }}">
<meta property="og:description" content="{{ page.summary | default(value=page.content | safe | striptags | trim | truncate(length=100)) }}">
<meta property="og:type" content="website">
<link rel="canonical" href="{{ page.permalink }}">
{% endblock seo %}
{% block content %}
<article class="post wrapper">
<header class="post-header">
<h1 class="post-title">{{ page.title }}</h1>
</header>
<div class="post-content">
{{ page.content | safe }}
</div>
</article>
{% endblock content %}