Added post-header.html.twig
This commit is contained in:
parent
7a81cc644c
commit
b7200378bc
|
@ -1,7 +1,8 @@
|
||||||
{% extends 'default' %}
|
{% extends 'default' %}
|
||||||
|
|
||||||
{% block content_wrapper %}
|
{% block content_wrapper %}
|
||||||
<h1>{{ page.title }}</h1>
|
<div class="content">
|
||||||
Posted: {{ page.date | date('jS F Y') }}
|
{% include 'post-header' %}
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
|
@ -0,0 +1,10 @@
|
||||||
|
<h1>{{ page.title | title }}</h1>
|
||||||
|
<p class="posted">Posted: {{ page.date | date('jS F Y') }}</p>
|
||||||
|
{#
|
||||||
|
{% if page.tags %}
|
||||||
|
Tags:
|
||||||
|
{% for tag in page.tags %}
|
||||||
|
{{ tag }}{% if not loop.last %},{% else %}.{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
#}
|
Reference in a new issue