aboutsummaryrefslogtreecommitdiff
path: root/templates/page.html
blob: 36e34b853de9c1be6177f317953d70ea80a53fef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{% extends "base.html" %}
{% block header %}
  <h1>{{ page.title }}</h1>
  <p class="publish-date">Published {{ page.date | date(format="%b %d, %Y
  %H:%M UTC") }} on
  {% if page.permalink is containing("weblog") %}
  <a href="/weblog">Yaroslav's weblog</a></p>
  {% elif page.permalink is containing("food") %}
  <a href="/food">Yaroslav's recipe book</a></p>
  {% endif %}
{% endblock %}
{% block content %}
  <div class="post-container">
    {{ page.content | safe }}
  </div>
{% endblock %}