Added talk.html.twig
This commit is contained in:
parent
a5127b192f
commit
830fa88b78
20
source/themes/opdavies/oliverdavies/_layouts/talk.html.twig
Normal file
20
source/themes/opdavies/oliverdavies/_layouts/talk.html.twig
Normal file
|
@ -0,0 +1,20 @@
|
|||
{% extends 'default.html.twig' %}
|
||||
|
||||
{% block body_classes 'page--talks page--talks__talk' %}
|
||||
|
||||
{% block content_wrapper %}
|
||||
<main class="col-md-9">
|
||||
<h1>{{ page.title }}</h1>
|
||||
|
||||
<p>
|
||||
At {{ page.location }},
|
||||
{% if page.fuzzy_date %}
|
||||
{{ page.date|date(site.fuzzy_date_format) }}
|
||||
{% else %}
|
||||
{{ page.date|date(site.default_date_format) }}
|
||||
{% endif %}.
|
||||
</p>
|
||||
|
||||
{{ page.blocks.content|raw }}
|
||||
</main>
|
||||
{% endblock content_wrapper %}
|
Reference in a new issue