79 lines
1.8 KiB
Twig
79 lines
1.8 KiB
Twig
{% if not hero_image_name %}
|
|
<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/category.html.twig' %}
|
|
{% include 'partials/blog/date.html.twig' %}
|
|
</div>
|
|
<div class="tags">
|
|
{% include 'partials/blog/taxonomy.html.twig' %}
|
|
</div>
|
|
{% endif %}
|
|
|
|
|
|
<div class="content">
|
|
<div class="txt">
|
|
{{ page.content|raw }}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="prev-next">
|
|
|
|
{% if not page.isLast %}
|
|
<a class="btn" href="{{ page.prevSibling.url }}">
|
|
<div class="btn-info">
|
|
|
|
<span class="title">{{ page.prevSibling.title }}</span>
|
|
|
|
{% if page.prevSibling.taxonomy.category %}
|
|
<span class="tags">
|
|
{% for category in page.prevSibling.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>
|
|
</div>
|
|
<img src="user/themes/gilles_acezat/images/arrow.svg" alt="">
|
|
|
|
</a>
|
|
{% endif %}
|
|
|
|
{% if page.isLast %}
|
|
|
|
<a class="cc" href="/">
|
|
<div class="btn-info">
|
|
|
|
<span class="title">Home</span>
|
|
|
|
</div>
|
|
<img src="user/themes/gilles_acezat/images/arrow.svg" alt="">
|
|
</a>
|
|
{% endif %}
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="img">
|
|
{% for image in page.media.images %}
|
|
<div class="img-card">
|
|
{{ image.html }}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
|
|
<div class="top">
|
|
<a href="#page-wrapper">
|
|
<img src="user/themes/gilles_acezat/images/arrow-top.svg" alt="">
|
|
<p>top</p>
|
|
</a>
|
|
</div>
|