|
@@ -1,66 +1,71 @@
|
|
|
{% if not hero_image_name %}
|
|
|
- <div class="content-title text-center">
|
|
|
+ <div class="header-item">
|
|
|
+ <div class="title">
|
|
|
{% include 'partials/blog/title.html.twig' with {title_level: 'h2'} %}
|
|
|
{% if page.header.subtitle %}
|
|
|
<h3 >{{ page.header.subtitle }}</h3>
|
|
|
{% endif %}
|
|
|
{% include 'partials/blog/date.html.twig' %}
|
|
|
{% include 'partials/blog/category.html.twig' %}
|
|
|
- {% include 'partials/blog/taxonomy.html.twig' %}
|
|
|
-
|
|
|
+ </div>
|
|
|
+ <div class="tags">
|
|
|
+ {% include 'partials/blog/taxonomy.html.twig' %}
|
|
|
</div>
|
|
|
{% endif %}
|
|
|
|
|
|
- <p class="prev-next text-center">
|
|
|
|
|
|
- {% if not page.isLast %}
|
|
|
- <a class="btn" href="{{ page.prevSibling.url }}">
|
|
|
+ <div class="content">
|
|
|
+ <div class="txt">
|
|
|
+ {{ page.content|raw }}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="prev-next">
|
|
|
|
|
|
- <span class="title">{{ page.prevSibling.title }}</span>
|
|
|
+ {% if not page.isLast %}
|
|
|
+ <a class="btn" href="{{ page.prevSibling.url }}">
|
|
|
|
|
|
- {% if page.prevSibling.taxonomy.category %}
|
|
|
- <span class="tags">
|
|
|
- {% for category in page.prevSibling.taxonomy.category %}
|
|
|
- {{ category }}
|
|
|
- {% endfor %}
|
|
|
- </span>
|
|
|
- {% endif %}
|
|
|
+ <span class="title">{{ page.prevSibling.title }}</span>
|
|
|
|
|
|
- <span class="blog-date">
|
|
|
- <time class="dt-published" datetime="{{ page.date|date("c") }}">
|
|
|
- {{ page.prevSibling.date|date("Y") }}
|
|
|
- </time>
|
|
|
- </span>
|
|
|
- </a>
|
|
|
+ {% if page.prevSibling.taxonomy.category %}
|
|
|
+ <span class="tags">
|
|
|
+ {% for category in page.prevSibling.taxonomy.category %}
|
|
|
+ {{ category }}
|
|
|
+ {% endfor %}
|
|
|
+ </span>
|
|
|
{% endif %}
|
|
|
|
|
|
- {% if not page.isFirst %}
|
|
|
- <a class="btn" href="{{ page.nextSibling.url }}">
|
|
|
- <span class="title">{{ page.nextSibling.title }}</span>
|
|
|
-
|
|
|
- {% if page.nextSibling.taxonomy.category %}
|
|
|
- <span class="tags">
|
|
|
- {% for category in page.nextSibling.taxonomy.category %}
|
|
|
- {{ category }}
|
|
|
- {% endfor %}
|
|
|
- </span>
|
|
|
- {% endif %}
|
|
|
+ <span class="blog-date">
|
|
|
+ <time class="dt-published" datetime="{{ page.date|date("c") }}">
|
|
|
+ {{ page.prevSibling.date|date("Y") }}
|
|
|
+ </time>
|
|
|
+ </span>
|
|
|
+ </a>
|
|
|
+ {% endif %}
|
|
|
|
|
|
- <span class="blog-date">
|
|
|
- <time class="dt-published" datetime="{{ page.date|date("c") }}">
|
|
|
- {{ page.nextSibling.date|date("Y") }}
|
|
|
- </time>
|
|
|
- </span>
|
|
|
- </a>
|
|
|
+ {% if not page.isFirst %}
|
|
|
+ <a class="btn" href="{{ page.nextSibling.url }}">
|
|
|
+ <span class="title">{{ page.nextSibling.title }}</span>
|
|
|
|
|
|
+ {% if page.nextSibling.taxonomy.category %}
|
|
|
+ <span class="tags">
|
|
|
+ {% for category in page.nextSibling.taxonomy.category %}
|
|
|
+ {{ category }}
|
|
|
+ {% endfor %}
|
|
|
+ </span>
|
|
|
{% endif %}
|
|
|
- </p>
|
|
|
|
|
|
- <div class="e-content">
|
|
|
- {{ page.content|raw }}
|
|
|
+ <span class="blog-date">
|
|
|
+ <time class="dt-published" datetime="{{ page.date|date("c") }}">
|
|
|
+ {{ page.nextSibling.date|date("Y") }}
|
|
|
+ </time>
|
|
|
+ </span>
|
|
|
+ </a>
|
|
|
+ {% endif %}
|
|
|
</div>
|
|
|
+</div>
|
|
|
|
|
|
- <div class="img">
|
|
|
+ <div class="img">
|
|
|
{% set image = page.media.images|first %}
|
|
|
{% if image %}
|
|
|
{{ image.cropZoom(800,400).html }}
|