add imgload
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
{% block content %}
|
||||
<section id="section_proch" class="row">
|
||||
<div class="container-fluid">
|
||||
<h3>Prochainement</h3>
|
||||
<h3>Prochainement</h3>
|
||||
<div class="row">
|
||||
{% for item in posts %}
|
||||
{% include 'components/thumbnails/thumbnails.twig'%}
|
||||
@@ -42,9 +42,9 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="section_MineVideo" class="row">
|
||||
<section id="section_MineVideo" class="row ">
|
||||
<div class="container-fluid">
|
||||
<h3>La Mine en vidéo</h3>
|
||||
<h3>La Mine en vidéo</h3>
|
||||
{% if post.video_la_mine %}
|
||||
<figure class="row mx-0">
|
||||
<iframe width="560" height="315" src="//www.youtube.com/embed/{{ post.video_la_mine }}" frameborder="0" allowfullscreen></iframe>
|
||||
|
||||
@@ -33,11 +33,12 @@
|
||||
{% if now >= end %}
|
||||
{% include 'components/thumbnails/thumbnails.twig'%}
|
||||
{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
<div class="paralax" data-rellax-speed="-5">
|
||||
<img src="{{theme.link}}/asset/images/objet_4.svg" alt="objet 4">
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{% include 'partial/pagination.twig'%}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<figure>
|
||||
<span class="icone_cat {{cat}}"></span>
|
||||
<div class="overflow-hidden">
|
||||
<img src="{{ Image(item.image_event).src|resize(500,500) }}">
|
||||
<img class="lazyload" src="{{ Image(item.image_event).src|resize(600,500) }}" data-original="{{ Image(item.image_event).src|resize(600,500) }}">
|
||||
</div>
|
||||
|
||||
<figcaption class="wrap_content">
|
||||
|
||||
@@ -5,14 +5,14 @@
|
||||
<head>
|
||||
<meta charset="{{ site.charset }}" />
|
||||
<meta name="description" content="{{ site.description }}">
|
||||
<link rel="stylesheet" href="{{ site.theme.link }}/dist/assets/css/index.min.css" type="text/css" media="screen" />
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="{{ site.theme.link }}/dist/assets/css/index.min.css" type="text/css" media="screen" />
|
||||
<link rel="author" href="{{ site.theme.link }}/humans.txt" />
|
||||
<link rel="pingback" href="{{ site.pingback_url }}" />
|
||||
<link rel="profile" href="http://gmpg.org/xfn/11">
|
||||
|
||||
|
||||
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
|
||||
|
||||
{{function('wp_head')}}
|
||||
|
||||
Reference in New Issue
Block a user