Added post-header.html.twig
This commit is contained in:
parent
7a81cc644c
commit
b7200378bc
|
@ -1,7 +1,8 @@
|
|||
{% extends 'default' %}
|
||||
|
||||
{% block content_wrapper %}
|
||||
<h1>{{ page.title }}</h1>
|
||||
Posted: {{ page.date | date('jS F Y') }}
|
||||
<div class="content">
|
||||
{% include 'post-header' %}
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
{% 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