template twig tmpsfort
This commit is contained in:
@@ -1,9 +1,3 @@
|
||||
{% if name == 'true' %}
|
||||
{% set class = "title_bene" %}
|
||||
{% else %}
|
||||
{% set class = "title" %}
|
||||
{% endif %}
|
||||
|
||||
<div class="{{class}}">
|
||||
<h2>{{post.title}}</h2>
|
||||
</div>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
{% block content %}
|
||||
|
||||
{% include 'components/title_page.twig' with {name: 'true'} %}
|
||||
{% include 'components/title_page.twig' %}
|
||||
|
||||
<div class="colonne_gauche">
|
||||
<section class="article-content">
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{% extends "base.twig" %}
|
||||
|
||||
{% block content %}
|
||||
{% include 'components/title_page.twig' %}
|
||||
<div class="content-wrapper">
|
||||
{% include 'components/title_page.twig' %}
|
||||
<article class="post-type-{{post.post_type}}" id="post-{{post.ID}}">
|
||||
<section class="article-content">
|
||||
<h1 class="article-h1">{{post.title}}</h1>
|
||||
|
||||
@@ -1,14 +1,17 @@
|
||||
{% extends "base.twig" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="content-wrapper">
|
||||
<article class="post-type-{{post.post_type}}" id="post-{{post.ID}}">
|
||||
<section class="article-content">
|
||||
<h1 class="article-h1">{{post.title}}</h1>
|
||||
<div class="article-body">
|
||||
{{post.content}}
|
||||
</div>
|
||||
</section>
|
||||
</article>
|
||||
</div><!-- /content-wrapper -->
|
||||
|
||||
{% include 'components/title_page.twig'%}
|
||||
|
||||
<!--
|
||||
<div class="colonne_gauche">
|
||||
<section class="article-content">
|
||||
<h1 class="nom_du_temps_fort"></h1>
|
||||
<h2 class="sous-titre"></h2>
|
||||
<div class="article-body">
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<div class = "slide_medias">
|
||||
</div> -->
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user