+
+ {% block content %}
+
+ {% endblock %}
{% block aside %}
diff --git a/user/themes/figureslibres/templates/partials/blog-item.html.twig b/user/themes/figureslibres/templates/partials/blog-item.html.twig
index ca027de..966933a 100644
--- a/user/themes/figureslibres/templates/partials/blog-item.html.twig
+++ b/user/themes/figureslibres/templates/partials/blog-item.html.twig
@@ -1,32 +1,15 @@
-
-
-{% if not hero_image_name %}
-
- {% include 'partials/blog/title.html.twig' with {title_level: 'h2'} %}
- {% if page.header.subtitle %}
-
{{ page.header.subtitle }}
- {% endif %}
- {% include 'partials/blog/taxonomy.html.twig' %}
-
-{% endif %}
-
-
- {{ page.content|raw }}
-
-
-
- {% for image in page.media.images %}
- {{ image.html }}
- {% endfor %}
-
+
+ {% include 'partials/blog/title.html.twig' with {title_level: 'h2'} %}
+ {% include 'partials/blog/taxonomy.html.twig' %}
+ {% include 'partials/blog/date.html.twig' %}
-
- {% if not page.isLast %}
- {{ 'THEME_QUARK.BLOG.ITEM.PREV_POST'|t }}
- {% endif %}
+
+ {{ page.content|raw }}
+
- {% if not page.isFirst %}
-
{{ 'THEME_QUARK.BLOG.ITEM.NEXT_POST'|t }}
- {% endif %}
-
+
+{% for image in page.media.images %}
+ {{ image.html }}
+{% endfor %}
+
diff --git a/user/themes/figureslibres/templates/partials/blog-list-item.html.twig b/user/themes/figureslibres/templates/partials/blog-list-item.html.twig
index f8fed53..4632179 100644
--- a/user/themes/figureslibres/templates/partials/blog-list-item.html.twig
+++ b/user/themes/figureslibres/templates/partials/blog-list-item.html.twig
@@ -2,15 +2,20 @@
{% set image = page.media.images|first %}
{% if image %}
-
{% endif %}
+
diff --git a/user/themes/figureslibres/templates/partials/blog/date.html.twig b/user/themes/figureslibres/templates/partials/blog/date.html.twig
index a134d24..a78caf0 100644
--- a/user/themes/figureslibres/templates/partials/blog/date.html.twig
+++ b/user/themes/figureslibres/templates/partials/blog/date.html.twig
@@ -1,5 +1,6 @@
+
•
-
- {{ page.date|date(system.pages.dateformat.short) }}
+
+ {{ page.date|date("Y") }}
diff --git a/user/themes/figureslibres/templates/partials/blog/other_projets.html.twig b/user/themes/figureslibres/templates/partials/blog/other_projets.html.twig
new file mode 100644
index 0000000..eebe168
--- /dev/null
+++ b/user/themes/figureslibres/templates/partials/blog/other_projets.html.twig
@@ -0,0 +1,32 @@
+
+
Les autres projets {{page.parent.title|lower}}s
+ {% set collection_random = page.parent.collection|slice(1,3) %}
+
+ {% for item in collection_random %}
+ {% if item.title == page.title == false %}
+
+ {% endif %}
+ {% endfor %}
+
diff --git a/user/themes/figureslibres/templates/partials/blog/taxonomy.html.twig b/user/themes/figureslibres/templates/partials/blog/taxonomy.html.twig
index 8cab9fc..86858cd 100644
--- a/user/themes/figureslibres/templates/partials/blog/taxonomy.html.twig
+++ b/user/themes/figureslibres/templates/partials/blog/taxonomy.html.twig
@@ -1,7 +1,8 @@
{% if page.taxonomy.tag %}
+
•
{% for tag in page.taxonomy.tag %}
- {{ tag }}
+ {{ tag }}
{% endfor %}
{% endif %}
diff --git a/user/themes/figureslibres/templates/partials/layout.html.twig b/user/themes/figureslibres/templates/partials/layout.html.twig
index 38545d0..35e6f23 100644
--- a/user/themes/figureslibres/templates/partials/layout.html.twig
+++ b/user/themes/figureslibres/templates/partials/layout.html.twig
@@ -1,13 +1,11 @@
-{% set item_col = show_sidebar ? 'col-9 col-md-12' : 'col-12' %}
-{% set sidebar_col = show_sidebar ? 'col-3 col-md-12' : 'col-12' %}
-
-
-
+
{% block item %}{% endblock %}
- {% if show_sidebar %}
-
- {% block sidebar %}{% endblock %}
-
- {% endif %}
-
+
+ {% block footer %}
+ {% include 'partials/blog/other_projets.html.twig' %}
+ {% endblock %}
+
+ {% block aside %}
+ {% include 'partials/sidebar.html.twig' %}
+ {% endblock %}
diff --git a/user/themes/figureslibres/templates/partials/sidebar.html.twig b/user/themes/figureslibres/templates/partials/sidebar.html.twig
index 6a42549..e0c707b 100644
--- a/user/themes/figureslibres/templates/partials/sidebar.html.twig
+++ b/user/themes/figureslibres/templates/partials/sidebar.html.twig
@@ -1,24 +1,5 @@
-{% set feed_url = blog.url == '/' or blog.url == base_url_relative ? (base_url_relative~'/'~blog.slug) : blog.url %}
-{% set new_base_url = blog.url == '/' ? '' : blog.url %}
-
-
-
diff --git a/user/themes/figureslibres/templates/partials/taxonomylist.html.twig b/user/themes/figureslibres/templates/partials/taxonomylist.html.twig
index cdd8a98..7aa4515 100644
--- a/user/themes/figureslibres/templates/partials/taxonomylist.html.twig
+++ b/user/themes/figureslibres/templates/partials/taxonomylist.html.twig
@@ -1,23 +1,22 @@
{% set taxlist = children_only is defined ? taxonomylist.getChildPagesTags() : taxonomylist.get() %}
+{% macro pageLinkName(text) %}
+ {{ text|lower|replace({' ':'_'}) }}
+{% endmacro %}
-{% if taxlist %}
-
- {% for tax,value in taxlist[taxonomy] %}
- {% set label_class = uri.param(taxonomy) == tax ? 'label-primary' : 'label-secondary' %}
+{% import _self as macro %}
+{% for tax,value in taxlist[taxonomy] %}
+
+ {{ tax }}
+
+ {% set options = { items: {'@taxonomy': {'category': tax} } } %}
+ {% set my_collection = page.collection(options) %}
+
+ {% for i in my_collection %}
- {{ tax }}
+ {{i.title}}
-
- {% set options = { items: {'@taxonomy': {'category': tax} } } %}
- {% set my_collection = page.collection(options) %}
-
- {% for i in my_collection %}
- {{i.title}}
- {% endfor %}
-
{% endfor %}
-
-{% endif %}
+{% endfor %}
diff --git a/user/themes/figureslibres/templates/projet.html.twig b/user/themes/figureslibres/templates/projet.html.twig
new file mode 100644
index 0000000..6f627ca
--- /dev/null
+++ b/user/themes/figureslibres/templates/projet.html.twig
@@ -0,0 +1,19 @@
+{% extends 'partials/base.html.twig' %}
+
+{% block header %}
+
+{% endblock %}
+
+{% block body %}
+
+ {% embed 'partials/layout.html.twig' %}
+ {% block item %}
+ {% include 'partials/blog-item.html.twig' %}
+ {% endblock %}
+ {% endembed %}
+
+{% endblock %}