{% if image %}
{{image.html}}
@@ -19,18 +13,21 @@
{{page.title}}
{{content}}
+ {% for item in page.collection %}
+
+
{{item.title}}
+ {{item.content}}
+
+ {% endfor %}
- {% if show_sidebar %}
- {% block sidebar %}
- {% include 'partials/sidebar.html.twig' %}
- {% endblock %}
- {% endif %}
+ {% if show_sidebar %}
+ {% block sidebar %}
+ {% include 'partials/sidebar.html.twig' %}
+ {% endblock %}
+ {% endif %}
+
-
{% endblock %}
diff --git a/user/themes/lecampus/templates/calendrier.html.twig b/user/themes/lecampus/templates/calendrier.html.twig
index cd98d6b..57affa4 100644
--- a/user/themes/lecampus/templates/calendrier.html.twig
+++ b/user/themes/lecampus/templates/calendrier.html.twig
@@ -6,42 +6,31 @@
{% set show_sidebar = header_var('show_sidebar', [page, blog])|defined(true) %}
{% set show_pagination = header_var('show_pagination', [page, blog])|defined(true) %}
-{% block stylesheets %}
- {% do assets.addCss('theme://css/bricklayer.css') %}
- {{ parent() }}
-{% endblock %}
-
-{% block javascripts %}
- {{ parent() }}
- {% do assets.add('theme://js/bricklayer.min.js') %}
- {% do assets.add('theme://js/scopedQuerySelectorShim.min.js') %}
-{% endblock %}
-
{% block hero %}
{% include 'partials/hero.html.twig' with {id: 'blog-hero', content: page.content, hero_image: blog_image} %}
{% endblock %}
{% block body %}
-
-
+
+
- {% if show_breadcrumbs and config.plugins.breadcrumbs.enabled %}
- {% include 'partials/breadcrumbs.html.twig' %}
- {% endif %}
+ {% if show_breadcrumbs and config.plugins.breadcrumbs.enabled %}
+ {% include 'partials/breadcrumbs.html.twig' %}
+ {% endif %}
- {% embed 'partials/layout.html.twig' with {blog: page} %}
+ {% embed 'partials/layout.html.twig' with {blog: page} %}
- {% block item %}
- {% for child in collection %}
- {% include 'partials/cal-list-event.html.twig' with {blog: page, page: child} %}
- {% endfor %}
+ {% block item %}
+
+ {% include 'partials/taxonomylist.html.twig' with {base_url: my_url, taxonomy: 'tag'} %}
+
+ {% for child in collection %}
+ {% include 'partials/cal-list-event.html.twig' with {blog: page, page: child} %}
+ {% endfor %}
+
+ {% endblock %}
+ {% endembed %}
+
+
- {% endblock %}
- {% endembed %}
-
-
-
{% endblock %}
diff --git a/user/themes/lecampus/templates/default.html.twig b/user/themes/lecampus/templates/default.html.twig
index d985e24..3db0240 100644
--- a/user/themes/lecampus/templates/default.html.twig
+++ b/user/themes/lecampus/templates/default.html.twig
@@ -1,13 +1,19 @@
{% extends 'partials/base.html.twig' %}
-{% set image = page.media.images|first %}
+{% set image = page.media.images %}
{% block content %}
-{% if image %}
- {{ image.html }}
-{% endif %}
+
+ {% if image %}
+ {% for images in image %}
+ {{ images }}
+ {% endfor %}
+ {% endif %}
+
+
+
{{ page.content|raw }}
-
+
{% endblock %}
{% block sidebar %}
diff --git a/user/themes/lecampus/templates/macros/macros.html.twig b/user/themes/lecampus/templates/macros/macros.html.twig
index 027b695..17cde0f 100644
--- a/user/themes/lecampus/templates/macros/macros.html.twig
+++ b/user/themes/lecampus/templates/macros/macros.html.twig
@@ -11,7 +11,7 @@
{# {{ macros.nav_loop(p) }} #}
{% for i in p.children.visible %}
-
+
{{ i.menu }}
diff --git a/user/themes/lecampus/templates/partials/base.html.twig b/user/themes/lecampus/templates/partials/base.html.twig
index 9fb8130..7c2af02 100644
--- a/user/themes/lecampus/templates/partials/base.html.twig
+++ b/user/themes/lecampus/templates/partials/base.html.twig
@@ -18,20 +18,25 @@
{% block stylesheets %}
{% do assets.addCss('theme://css-compiled/spectre'~compress) %}
{% do assets.addCss('theme://css-compiled/theme'~compress) %}
+ {% do assets.addCss('theme://css/leaflet.css') %}
{% endblock %}
{% block javascripts %}
+
{% do assets.addJs('jquery', 101) %}
+ {% do assets.addJs('theme://js/masonry.pkgd.min.js', {group:'bottom'}) %}
+ {% do assets.addJs('theme://js/imagesloaded.pkgd.min.js', {group:'bottom'}) %}
+ {% do assets.addJs('theme://js/multipleFilterMasonry.js', {group:'bottom'}) %}
+ {% do assets.addJs('theme://js/jquery.slides.min.js', {group:'bottom'}) %}
+ {% do assets.addJs('theme://js/leaflet.js', {group:'bottom'}) %}
{% do assets.addJs('theme://js/site.js', {group:'bottom'}) %}
+
{% endblock %}
{% block assets deferred %}
{{ assets.css()|raw }}
{{ assets.js()|raw }}
{% endblock %}
-
-
-
{% endblock head %}
@@ -39,7 +44,7 @@
@@ -60,13 +70,10 @@
{% block hero %}{% endblock %}
-
+
{% block body %}
-
- {% block messages %}
- {% include 'partials/messages.html.twig' ignore missing %}
- {% endblock %}
+
{% block content %}{% endblock %}
{% block sidebar %}{% endblock %}
diff --git a/user/themes/lecampus/templates/partials/blog/public.html.twig b/user/themes/lecampus/templates/partials/blog/public.html.twig
index 761d89b..3efea55 100644
--- a/user/themes/lecampus/templates/partials/blog/public.html.twig
+++ b/user/themes/lecampus/templates/partials/blog/public.html.twig
@@ -1,8 +1,17 @@
- {% set page_public = page.header.public %}
+
+
+ {% if page.taxonomy.tag %}
+
+ {% for tag in page.taxonomy.tag %}
+ {{ tag }}
+ {% endfor %}
+
+ {% endif %}
+
diff --git a/user/themes/lecampus/templates/partials/cal-event.html.twig b/user/themes/lecampus/templates/partials/cal-event.html.twig
index b69757b..d499a90 100644
--- a/user/themes/lecampus/templates/partials/cal-event.html.twig
+++ b/user/themes/lecampus/templates/partials/cal-event.html.twig
@@ -2,15 +2,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/public.html.twig' %}
- {% include 'partials/blog/date.html.twig' %}
- {% include 'partials/blog/reseaux_sociaux.html.twig' %}
-
+
+ {% include 'partials/blog/title.html.twig' with {title_level: 'h2'} %}
+ {% if page.header.subtitle %}
+
{{ page.header.subtitle }}
+ {% endif %}
+ {% include 'partials/blog/public.html.twig' %}
+ {% include 'partials/blog/date.html.twig' %}
+ {% include 'partials/blog/reseaux_sociaux.html.twig' %}
+
{% endif %}
diff --git a/user/themes/lecampus/templates/partials/footer.html.twig b/user/themes/lecampus/templates/partials/footer.html.twig
index 6f027d5..2b00977 100644
--- a/user/themes/lecampus/templates/partials/footer.html.twig
+++ b/user/themes/lecampus/templates/partials/footer.html.twig
@@ -6,16 +6,4 @@
{{p.title}}
{{p.content}}
{% endfor %}
-
-
-
diff --git a/user/themes/lecampus/templates/partials/layout.html.twig b/user/themes/lecampus/templates/partials/layout.html.twig
index 1052592..9ee745a 100644
--- a/user/themes/lecampus/templates/partials/layout.html.twig
+++ b/user/themes/lecampus/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 %}
- {% include 'partials/sidebar.html.twig' %}
- {% endblock %}
-
- {% endif %}
-
+
+ {% block item %}{% endblock %}
+ {% if show_sidebar %}
+ {% block sidebar %}
+ {% include 'partials/sidebar.html.twig' %}
+ {% endblock %}
+ {% endif %}
+
diff --git a/user/themes/lecampus/templates/partials/sidebar.html.twig b/user/themes/lecampus/templates/partials/sidebar.html.twig
index 4d4f43a..82846b3 100644
--- a/user/themes/lecampus/templates/partials/sidebar.html.twig
+++ b/user/themes/lecampus/templates/partials/sidebar.html.twig
@@ -4,8 +4,10 @@
À venir
{% for p in page.collection(options)%}
{% endfor %}
diff --git a/user/themes/lecampus/templates/partials/taxonomylist.html.twig b/user/themes/lecampus/templates/partials/taxonomylist.html.twig
index b2bcc92..6b70f13 100644
--- a/user/themes/lecampus/templates/partials/taxonomylist.html.twig
+++ b/user/themes/lecampus/templates/partials/taxonomylist.html.twig
@@ -2,9 +2,11 @@
{% if taxlist %}
+ Tous
{% for tax,value in taxlist[taxonomy] %}
{% set label_class = uri.param(taxonomy) == tax ? 'label-primary' : 'label-secondary' %}
{{ tax }}
{% endfor %}
+ Achives
{% endif %}