1234567891011121314151617181920212223242526272829303132 |
- {% extends "index.twig" %}
- {% block content %}
- <article class="fullpage">
- {% if meta.title %}<h2>{{ meta.title }}</h2>{% endif %}
- <aside class="clearfix">
- {% if meta.date is not empty %}
- <span class="date">{{ meta.date_formatted }}
- {% if meta.timeline is not empty %}
- <span class="timeline">
- {% for date in meta.timeline|split(',') %}
- - {{ date|date("M d Y") }}
- {% endfor %}
- </span>
- {% endif %}
- </span>
- {% endif %}
- {% if meta.author is not empty %}
- <span class="author">by {{ meta.author }}</span>
- {% endif %}
- {% if meta.tags is not empty %}
- {% for tag in meta.tags|split(',') %}
- <a class="tag" href="/tags?q={{ tag }}">#{{ tag }}</a>
- {% endfor %}
- {% endif %}
- </aside>
- <div>
- {{ tableofcontent|raw }}
- {{ content }}
- </div>
- </article>
- {% endblock %}
|