fix title other single

This commit is contained in:
2020-09-15 17:11:58 +02:00
parent dedd9459e3
commit 8201a3170c
38 changed files with 527 additions and 87 deletions
@@ -5,15 +5,14 @@
<section class="row">
<aside class="sidebar_left col-md-4 mr-2">
<aside class="sidebar_left col-12 col-md-12 col-lg-4">
<div class="wrapper">
{% include '/components/sider_left.twig' with { name__template : 'association' } %}
</div>
{% include '/components/buttons/bouton_asso.html.twig' %}
</aside>
<section class="wrapper__content col-md-7">
<section class="wrapper__content col-12 col-md-12 col-lg-8">
<article class="wrap__content __asso">
<header>
@@ -1,7 +1,9 @@
{% if name == 'other' %}
{% set cat = post.categories|first.slug %}
{% set title = item.post_title %}
{% else %}
{% set cat = item.categories|first.slug %}
{% set title = item.title %}
{% endif %}
<article class="thumbnails col-12 col-md-6 col-lg-4 {{cat}}">
@@ -13,7 +15,7 @@
</figure>
<div class="wrap_content">
<h5>{{item.title}}</h5>
<h5>{{title}}</h5>
<div class="content">
<div class="date">
{% set start = item.informations_debut_event|date("Ydj") %}
@@ -1,5 +1,3 @@
<section class="title_page">
<div class="{{class}}">
<h2 class="titre_page">{{post.title}}</h2>
</div>
<h2 class="titre_page">{{post.title}}</h2>
</section>
@@ -5,11 +5,11 @@
<section class="row">
<aside class="sidebar_left col-12 col-md-12 col-lg-6 col-xl-4">
<aside class="sidebar_left col-12 col-md-6 col-lg-6 col-xl-4">
{% include 'components/sider_left.twig' with { name__template : 'benevole' } %}
</aside>
<article class="wrapper__content col-12 col-md-12 col-lg-6 col-xl-8">
<article class="wrapper__content col-12 col-md-6 col-lg-6 col-xl-8">
<div class="wrap__content">
<header>
@@ -13,7 +13,7 @@
{% include 'components/forms/form_lacollecte.twig' %}
</aside>
<article class="wrapper__content col-12 col-md-12 col-lg-6 col-xl-8">
<article class="wrapper__content col-12 col-md-6 col-lg-6 col-xl-8">
<div class="wrap__content">
<header class="__header">
<h2 class="__chapeau">{{ post.meta('texte_chapeau') }}</h2>
@@ -18,7 +18,7 @@
</aside>
<figure class="main-carousel col-md-8">
{% for media in item.meta('slide') %}
{% for media in item.meta('slide') %}
{% for add in media %}
{% if add.acf_fc_layout == 'images' %}
<div class="img">
@@ -37,7 +37,7 @@
<div class="wrap__content __organisation">
<div class="__body row">
{% for item in post.meta('type_organisation') %}
<article class="__content _orga col-lg-4">
<article class="__content _orga col-12 col-lg-6 col-xl-4">
<div class="title">
<h5>{{ item.titre_bloc}}</h5>
</div>
@@ -104,7 +104,6 @@
</figure>
</div>
</footer>
</div>
</article>
</section>