add h1 alt img

This commit is contained in:
Kevin Tessier 2019-07-08 13:04:57 +02:00
parent e94c687a1b
commit 1b563d3d47
3 changed files with 10 additions and 6 deletions

View File

@ -6,7 +6,7 @@
<div class="title_gal"> <div class="title_gal">
<p>{{ feature.text }}</p> <p>{{ feature.text }}</p>
</div> </div>
<img src="user/pages/01.home/{{gal}}" alt="{{gal}}"> <img src="user/pages/01.home/{{gal}}" alt="{{ feature.text }}">
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
@ -14,6 +14,7 @@
{% if header.entete.text == true %} {% if header.entete.text == true %}
<div class="entete"> <div class="entete">
<div class="entete_c"> <div class="entete_c">
<h1>{{page.title}}</h1>
<p>{{ header.entete.text }}</p> <p>{{ header.entete.text }}</p>
</div> </div>
</div> </div>
@ -25,7 +26,10 @@
{% if image %} {% if image %}
<div class="bandeau"> <div class="bandeau">
<div class="img"> <div class="img">
{{ image.html('','bandeau') }} {% if header.txtimg.text == true %}
{{ image.html('',header.txtimg.text) }}
{% endif %}
{{ image.html('',page.title) }}
</div> </div>
{% if header.txtimg.text %} {% if header.txtimg.text %}
<div class="title_gal"> <div class="title_gal">

View File

@ -11,7 +11,7 @@
<div class="content"> <div class="content">
<div class="images_s"> <div class="images_s">
{% for images in page.media.images|slice(1) %} {% for images in page.media.images|slice(1) %}
{{images.html('','img_content')}} {{images.html('', page.title )}}
{% endfor %} {% endfor %}
</div> </div>
<div class="content_s"> <div class="content_s">
@ -22,7 +22,7 @@
{% for features in page.header.features %} {% for features in page.header.features %}
<div class="icon"> <div class="icon">
{% for img in features.icon %} {% for img in features.icon %}
<img src="/{{img.path}}" alt="picto"> <img src="/{{img.path}}" alt="{{features.text}}">
{% endfor %} {% endfor %}
<p>{{features.text}}</p> <p>{{features.text}}</p>
</div> </div>
@ -37,7 +37,7 @@
{% if page.media.images|slice(1) %} {% if page.media.images|slice(1) %}
<div class="images_s"> <div class="images_s">
{% for images in page.media.images|slice(1) %} {% for images in page.media.images|slice(1) %}
{{images.html('','img_content')}} {{images.html('', page.title)}}
{% endfor %} {% endfor %}
</div> </div>
{% endif %} {% endif %}

View File

@ -1205,7 +1205,7 @@
{% if image %} {% if image %}
<div class="gal-salles"> <div class="gal-salles">
{% for img in child_image %} {% for img in child_image %}
{{img}} {{img.html('',item.title)}}
{% endfor %} {% endfor %}
<a href="#" class="slidesjs-previous slidesjs-navigation"><i class="icon-chevron-left"></i></a> <a href="#" class="slidesjs-previous slidesjs-navigation"><i class="icon-chevron-left"></i></a>
<a href="#" class="slidesjs-next slidesjs-navigation"><i class="icon-chevron-right"></i></a> <a href="#" class="slidesjs-next slidesjs-navigation"><i class="icon-chevron-right"></i></a>