with alex: fixed layout, somme typo, gif

This commit is contained in:
Bachir Soussi Chiadmi
2016-02-17 12:41:12 +01:00
parent 333ee13a91
commit 34a6f5e1a8
103 changed files with 244 additions and 210 deletions
@@ -1,6 +1,12 @@
{% if display == 'img' %}
{% set image = page.media.images|first %}
<a href="{{ page.url }}">{{ image.html }}</a>
{# {% set image = child.media.files|first %} #}
{# {% if image == null %} #}
{# {% set image = child.media.images|first %} #}
{# {% endif %} #}
<a href="{{ page.url }}">{{ image.resize(500).html }}</a>
<header>
<h1><a href="{{ page.url }}">{{page.title}}</a></h1>
<h2><a href="{{ page.url }}">{{page.header.subtitle}}</a></h2>
@@ -13,8 +19,7 @@
{{ page.summary() }}
{% set image = page.media.images|first %}
<a class="projet-img" href="{{ page.url }}">{{ image.html }}</a>
<a class="projet-img" href="{{ page.url }}">{{ image.resize(500).html }}</a>
{% endif %}