blog/templates/note-page.html

32 lines
888 B
HTML
Raw Permalink Normal View History

2023-04-08 19:43:40 +02:00
{% extends "base.html" %}
{% block content %}
{{ __tera_context }}
<h1 class="title is-1">
{{ page.title }}
</h1>
<p class="subtitle"><strong>{{ page.date }}</strong></p>
<div class="content">
{{ page.content | safe }}
</div>
<aside class="container level my-5">
<div class="level-left">
{% if page.higher %}
<div class="level-item">
<a class="button is-link is-light is-medium has-text-weight-bold" href="{{ page.higher.permalink }}">{{ page.higher.title }}</a>
</div>
{% endif %}
</div>
<div class="level-right">
{% if page.lower %}
<div class="level-item">
<a class="button is-link is-light is-medium has-text-weight-bold" href="{{ page.lower.permalink }}">{{ page.lower.title }}</a>
</div>
{% endif %}
</div>
</aside>
{% endblock content %}