Use utility classes

This commit is contained in:
Oliver Davies 2017-07-11 18:56:05 +01:00
parent 2d11d2efc6
commit 0692d8ff00
6 changed files with 14 additions and 12 deletions

View file

@ -1,4 +1,4 @@
{% set title_tag = title_tag|default('h1') %}
{% set title_tag = title_tag ?: 'h1' %}
<{{ title_tag }}>{{ page.title }}</{{ title_tag }}>
<p class="posted">{{ page.date|date('jS F Y') }}</p>
<p class="posted text-light">{{ page.date|date('jS F Y') }}</p>