summaryrefslogtreecommitdiff
path: root/templates/blog-page.html
blob: 2783f149db262d690ffedc984509cddec92a66d6 (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
{% extends "base.html" %}

{% block title %} {{ page.title }} {% endblock title %}

{% block meta %}
<meta content="{{ page.title }}" name="og:title">
<meta content="https://lemon.rip" name="og:url">
<meta name="og:description" content="{{ page.content | striptags | truncate(length=180) }}">
<link href="/oembed-default-data.json" type="application/json+oembed">
{% endblock meta %}

{% block content %}

<h1 class="title">
  {{ page.title }}
</h1>
<p class="subtitle">
    {{ page.date | date(format="%-d %b %Y") }}
    —
    {% for tag in page.taxonomies.tags %}
    <a href="/tags/{{ tag | safe}}">#{{ tag }}</a>
    {% endfor %}
</p>
{{ page.content | safe }}
{% endblock content %}