modif css
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
<span>•</span>
|
||||
<span class="blog-date">
|
||||
<time class="dt-published" datetime="{{ page.date|date("Y") }}">
|
||||
{{ page.date|date("Y") }}
|
||||
</time>
|
||||
</span>
|
||||
+32
@@ -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,4) %}
|
||||
|
||||
{% 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>•</span> -->
|
||||
{% include 'partials/blog/taxonomy.html.twig' with { 'page': item } %}
|
||||
{% endif %}
|
||||
{% if item.header.date %}
|
||||
<!-- <span>•</span> -->
|
||||
{% include 'partials/blog/date.html.twig' with { 'page': item } %}
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
<div class="p-summary e-content">
|
||||
{% if page.summary != page.content %}
|
||||
{{ page.summary|raw }}
|
||||
{% else %}
|
||||
{{ page.content|raw }}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
{% if page.taxonomy.tag %}
|
||||
<span>•</span>
|
||||
<span class="tags">
|
||||
{% for tag in page.taxonomy.tag %}
|
||||
{{ tag }}
|
||||
{% endfor %}
|
||||
</span>
|
||||
{% endif %}
|
||||
@@ -0,0 +1,12 @@
|
||||
{% set title_level = title_level ?: 'h2' %}
|
||||
|
||||
{% if page.header.link %}
|
||||
<{{ title_level }}>
|
||||
{% if page.header.continue_link is not same as(false) %}
|
||||
<a href="{{ page.url }}"><i></i></a>
|
||||
{% endif %}
|
||||
{{ page.title }}
|
||||
</{{ title_level }}>
|
||||
{% else %}
|
||||
<{{ title_level }}>{{ page.title }}</{{ title_level }}>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user