~linuxgoose/bocpress

ref: 3113af5edfa5fa4c6bc49cdbf981319cfcc1e9bf bocpress/export_base_zola/post.html -rw-r--r-- 778 bytes
3113af5eJordan Robinson add pygments code block syntax highlighting 2 months ago
                                                                                
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
{% extends 'index.html' %}

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

{% block content %}
<main>
    <a href="/" class="posts-item-brand">{{ config.title }}</a>

    <article itemscope itemtype="http://schema.org/BlogPosting">
        <h1 class="posts-item-title" itemprop="name headline">
            {{ page.title }}
        </h1>

        <div class="posts-item-byline">
            Published on <time datetime="{{ page.date | date(format="%+") }}" itemprop="datePublished">{{ page.date | date(format="%B %e, %Y") }}</time>
        </div>

        <div itemprop="articleBody">
            {{ page.content | safe }}
        </div>
    </article>
</main>
<footer>
    Subscribe via <a href="/rss.xml">RSS</a>.
</footer>
{% endblock content %}