Feat: Import all old stuff
This commit is contained in:
18
theme/templates/page.html
Normal file
18
theme/templates/page.html
Normal file
@@ -0,0 +1,18 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %} – {{ page.title }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<article class="single">
|
||||
<header>
|
||||
{% import 'partial/translations.html' as translations with context %}
|
||||
{{ translations.translations_for(page) }}
|
||||
<h1 id="{{ page.slug }}">{{ page.title }}</h1>
|
||||
</header>
|
||||
<div>
|
||||
{% block before_content %}{% endblock %}
|
||||
{% block page_content %}{{ page.content }}{% endblock %}
|
||||
{% block after_content %}{% endblock %}
|
||||
</div>
|
||||
</article>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user