Добавлен отдельный шаблон для статей

This commit is contained in:
2019-08-30 12:46:23 +03:00
parent 870fb2dfce
commit db10a7141c
7 changed files with 17 additions and 10 deletions

View File

@ -0,0 +1,13 @@
{% extends 'internal.html.twig' %}
{% block content_wrapper %}
<h1>{{ page.title }}</h1>
{% block content %}{% endblock %}
<span class="hr-line"></span>
<p>{{ page.date|date('d.m.Y') }},&nbsp;<a href="mailto:anton@vakhrushev.me">anton@vakhrushev.me</a></p>
{% endblock %}

View File

@ -15,7 +15,9 @@
{% include 'navigation.twig' %}
{% block main %}
<main class="content">
{% block content %}{% endblock %}
{% block content_wrapper %}
{% block content %}{% endblock %}
{% endblock %}
</main>
{% endblock %}
</div>