This commit is contained in:
2019-07-16 01:03:26 +02:00
parent c66917c9a0
commit 8c9e1bc509
242 changed files with 5638 additions and 1288 deletions
@@ -1,5 +1,6 @@
<span>&#x2022;</span>
<span class="blog-date">
<time class="dt-published" datetime="{{ page.date|date("c") }}">
<i class="fa fa-calendar"></i> {{ page.date|date(system.pages.dateformat.short) }}
<time class="dt-published" datetime="{{ page.date|date("Y") }}">
{{ page.date|date("Y") }}
</time>
</span>
@@ -0,0 +1,32 @@
<div class="other_projets">
<h3>Les autres projets <span class="{{page.parent.title|lower}}">{{page.parent.title|lower}}s</span></h3>
{% set collection_random = page.parent.collection|slice(1,3) %}
{% for item in collection_random %}
{% if item.title == page.title == false %}
<div class="card">
<div class="card-images">
<a href="{{item.url}}">
{% for image in item.media.images|slice(0,1) %}
{{ image.html }}
{% endfor %}
</a>
</div>
<div class="card-header">
{% if item.header.title %}
{% include 'partials/blog/title.html.twig' with { 'page': item } %}
{% endif %}
{% if item.header.taxonomy.tag %}
<!-- <span>&#x2022;</span> -->
{% include 'partials/blog/taxonomy.html.twig' with { 'page': item } %}
{% endif %}
{% if item.header.date %}
<!-- <span>&#x2022;</span> -->
{% include 'partials/blog/date.html.twig' with { 'page': item } %}
{% endif %}
</div>
</div>
{% endif %}
{% endfor %}
</div>
@@ -1,7 +1,8 @@
{% if page.taxonomy.tag %}
<span>&#x2022;</span>
<span class="tags">
{% for tag in page.taxonomy.tag %}
<a class="label label-rounded {{ label_style ?: 'label-secondary' }} p-category" href="{{ blog.url|rtrim('/') }}/tag{{ config.system.param_sep }}{{ tag }}#body-wrapper">{{ tag }}</a>
{{ tag }}
{% endfor %}
</span>
{% endif %}