|
@@ -3,23 +3,78 @@
|
|
|
{% block content %}
|
|
|
<div class="content-wrapper">
|
|
|
|
|
|
- <article class="post-type-{{ post.titre}}">
|
|
|
- <img src="{{ post.image_event}}">
|
|
|
-
|
|
|
+ <article class="post-type">
|
|
|
+ <img src="{{ Image(post.image_event).src |resize(600, 600) }}" />
|
|
|
<section class="article-content">
|
|
|
- <h1 class="article-h1">{{ post.titre }}</h1>
|
|
|
- <div class="article-body">
|
|
|
- {{post.description}}
|
|
|
- {{post.lieu}}
|
|
|
+ <div class="titre">
|
|
|
+ <h2>{{post.titre}}</h2>
|
|
|
+ </div>
|
|
|
+ <div class="__content">
|
|
|
+ <div class="__date">
|
|
|
+ <div class="__day">
|
|
|
+ <span class="start">
|
|
|
+ <time><p>du</p>{{post.debut_event}}</time>
|
|
|
+ </span>
|
|
|
+ <span class="end">
|
|
|
+ <time><p>au</p>{{post.fin_event}}</time>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="lieu">{{post.lieu}}</div>
|
|
|
+ </div>
|
|
|
+ <div class="article-body">
|
|
|
+ <p>{{post.description}}</p>
|
|
|
</div>
|
|
|
+ <div class="inscription">
|
|
|
+ <h2>{{post.titre_inscription}}</h2>
|
|
|
+ {% for Items in post.meta('inscription') %}
|
|
|
+ {% for detail in Items.choose %}
|
|
|
+ {% if detail.acf_fc_layout == 'texte' %}
|
|
|
+ <p class="texte_details">{{ detail.texte }}</p>
|
|
|
+ {% endif %}
|
|
|
+ {% if detail.acf_fc_layout == 'lien' %}
|
|
|
+ <div class="group_link">
|
|
|
+ <a href="{{detail.lien.lien_hello_asso}}">{{detail.lien.texte_lien_hello_asso}}</a>
|
|
|
+ </div>
|
|
|
+ {% endif %}
|
|
|
+ {% endfor %}
|
|
|
+ {% endfor %}
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="voir_event">
|
|
|
+ <a href="{{post.meta('voir_evenement_facebook').lien_facebook}}">{{post.meta('voir_evenement_facebook').texte}}</a>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="partager">
|
|
|
+ <h2>{{post.titre_partage}}</h2>
|
|
|
+ <a href="{{post.meta('liens_reseaux_sociaux').lien_page_facebook}}">
|
|
|
+ <img src="{{ Image(post.meta('liens_reseaux_sociaux').logo_facebook).src }}" />
|
|
|
+ </a>
|
|
|
+ <a href="{{post.meta('liens_reseaux_sociaux').lien_page_twitter}}">
|
|
|
+ <img src="{{ Image(post.meta('liens_reseaux_sociaux').logo_twitter).src }}" />
|
|
|
+ </a>
|
|
|
+ <a href="{{post.meta('liens_reseaux_sociaux').lien_mail}}">
|
|
|
+ <img src="{{ Image(post.meta('liens_reseaux_sociaux').logo_mail).src }}" />
|
|
|
+ </a>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="tarif">
|
|
|
+ <h2>{{post.titre_tarif}}</h2>
|
|
|
+ <p>{{post.type_tarif}}</p>
|
|
|
+ </div>
|
|
|
+ </section>
|
|
|
+ </article>
|
|
|
+ </div>
|
|
|
|
|
|
<div class="other-posts">
|
|
|
{% for item in posts %}
|
|
|
- {% include 'components/thumbnails/thumbnails.twig' %}
|
|
|
+ {% include 'components/thumbnails/thumbnails.twig' %}
|
|
|
+ {#{% if {{site.url}} == "{{item.slug}}" %}
|
|
|
+ {% else %}
|
|
|
+ {% include 'components/thumbnails/thumbnails.twig' %}
|
|
|
+ {% endif %}#}
|
|
|
{% endfor %}
|
|
|
</div>
|
|
|
|
|
|
- </section>
|
|
|
- </article>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
{% endblock %}
|