29 lines
823 B
HTML
29 lines
823 B
HTML
{% extends "layout.html" %}
|
|
{% import "macros/layout.html" as layout %}
|
|
{% import "macros/post.html" as post %}
|
|
|
|
{% block title %}
|
|
{% if page.title %}{{ page.title }} - {% endif %}
|
|
{{ config.title }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<a href="../">« back</a>
|
|
<h1 style="margin: 0;">{{ page.title }}</h1>
|
|
{% if page.date or page.author %}
|
|
<small style="display: block; margin-bottom: 20px;">
|
|
Posted
|
|
{% if page.extra.author %}by {{ page.extra.author }}{% endif %}
|
|
on {{ page.date }}
|
|
</small>
|
|
{% endif %}
|
|
|
|
{% if page.extra.toc and page.toc | length %}
|
|
<div class="toc">
|
|
table of contents
|
|
{{ post::render_toc(toc=page.toc) }}
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div id="content">{{ page.content | safe }}</div>
|
|
{% endblock %}
|