maj
This commit is contained in:
@@ -1,11 +1,5 @@
|
||||
{% 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 %}
|
||||
@@ -19,7 +13,6 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
|
||||
<div class="content">
|
||||
<div class="txt">
|
||||
{{ page.content|raw }}
|
||||
@@ -41,7 +34,6 @@
|
||||
{% endfor %}
|
||||
</span>
|
||||
{% endif %}
|
||||
|
||||
<span class="blog-date">
|
||||
<time class="dt-published" datetime="{{ page.date|date("c") }}">
|
||||
{{ page.prevSibling.date|date("Y") }}
|
||||
@@ -49,19 +41,33 @@
|
||||
</span>
|
||||
</div>
|
||||
<img src="user/themes/gilles_acezat/images/arrow.svg" alt="">
|
||||
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
{% if page.isLast %}
|
||||
{% set parent = page.parent %}
|
||||
{% for item in parent.collection.slice(0, 1) %}
|
||||
<a class="cc" href="{{item.url}}">
|
||||
<div class="btn-info">
|
||||
<span class="title">Home</span>
|
||||
</div>
|
||||
<img src="user/themes/gilles_acezat/images/arrow.svg" alt="">
|
||||
</a>
|
||||
{% for first_item in parent.collection.slice(0, 1) %}
|
||||
|
||||
<a class="btn" href="{{ first_item.url }}">
|
||||
<div class="btn-info">
|
||||
<span class="title">{{ first_item.title }}</span>
|
||||
{% if first_item.taxonomy.category %}
|
||||
<span class="tags">
|
||||
{% for category in first_item.taxonomy.category %}
|
||||
{{ category }}
|
||||
{% endfor %}
|
||||
</span>
|
||||
{% endif %}
|
||||
|
||||
<span class="blog-date">
|
||||
<time class="dt-published" datetime="{{ first_item.date|date("c") }}">
|
||||
{{ first_item.date|date("Y") }}
|
||||
</time>
|
||||
</span>
|
||||
</div>
|
||||
<img src="user/themes/gilles_acezat/images/arrow.svg" alt="">
|
||||
</a>
|
||||
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
@@ -77,7 +83,7 @@
|
||||
</div>
|
||||
|
||||
<div class="top">
|
||||
<a href="#page-wrapper">
|
||||
<a href="">
|
||||
<img src="user/themes/gilles_acezat/images/arrow-top.svg" alt="">
|
||||
<p>top</p>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user