summaryrefslogtreecommitdiffstats
path: root/templates/blog-import.html
blob: 4fa10028d9e54b7d9f42211c8ba781cb45789870 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{% extends "zola-docsascode-theme/templates/page.html" %}

{% block content %}
    {% set data = page.extra.blogimport %}
    {% set post = load_data(path = data, format = "json") %}
    <p style="background-color: #dddddd; padding: 1em;">
        Imported from
        <a href="https://beyermatthias.de/{{ post.slug }}">this blog article</a>
        which was <b>created on {{ post.created | safe }}</b>
    </p>

    <hr>

    <article>
        {{ post.body | markdown | safe }}
    </article>
{% endblock content %}