création contenu page ass, page collecte et temps forts
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
<div id="bouton_asso">
|
||||
<a href="{{post.meta('bouton_asso').lien_hello_asso}}">{{post.meta('bouton_asso').texte_bouton}}</a>
|
||||
<!-- <a href="{{group.url}}">{{group.txt}}</a> -->
|
||||
</div>
|
||||
@@ -0,0 +1,3 @@
|
||||
<div id="bouton_contact">
|
||||
<a href="{{post.meta('bouton_contact').lien_hello_asso}}">{{post.meta('bouton_contact').texte_bouton}}</a>
|
||||
</div>
|
||||
@@ -0,0 +1,45 @@
|
||||
{% if form %}
|
||||
{% include '/components/formulaire.twig' %}
|
||||
{% endif %}
|
||||
{{dump(post)}}
|
||||
|
||||
{% if name == 'benevole' %}
|
||||
<div class="colonne_gauche">
|
||||
<section class="article-content">
|
||||
<h1 class="titre_bloc">{{ post.meta('titre_bloc') }}</h1>
|
||||
<div class="article_body">
|
||||
<!-- {{dump(post)}} -->
|
||||
{{ post.meta('paragraphe_bloc') }}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div class = "bouttons" >
|
||||
{% include '/components/buttons/bouton_asso.html.twig' %}
|
||||
{% include '/components/buttons/bouton_contact.html.twig' %}
|
||||
</div>
|
||||
</div><!-- /colonne_gauche -->
|
||||
<!-- cleaner le code + condition bouton pour asso voir pour condition bouton dans le wordpress -->
|
||||
{% endif %}
|
||||
|
||||
{{dump(post)}}
|
||||
<div class="colonne_gauche">
|
||||
<section class="article-content">
|
||||
|
||||
{% if name == 'association' %}
|
||||
<div class="article_body">
|
||||
<h1 class="titre_bloc">{{ post.meta('titre') }}</h1>
|
||||
{{ post.meta('file') }}
|
||||
</div>
|
||||
{% elseif name == 'benevole' %}
|
||||
<h1 class="titre_bloc">{{ post.meta('titre_bloc') }}</h1>
|
||||
<div class="article_body">
|
||||
<!-- {{dump(post)}} -->
|
||||
{{ post.meta('paragraphe_bloc') }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
</section>
|
||||
<div class = "bouttons" >
|
||||
{% include '/components/buttons/bouton_asso.html.twig' %}
|
||||
</div>
|
||||
</div><!-- /colonne_gauche -->
|
||||
Reference in New Issue
Block a user