[mod] start porting baguette responsive to material theme

This commit is contained in:
Laurent Peuch 2016-11-01 12:25:14 +01:00
parent aa6df3edbd
commit 202594d9fa

View File

@ -15,7 +15,12 @@
<source src="{{ video }}" type="video/webm" data-source="{{ video }}" data-format="vp8" data-extension="webm">
</video>
{% else %}
<a href="{{ image }}" {% if caption %}data-caption="{{ caption }}"{% endif %}>
<a href="{{ image }}" {% if caption %}data-caption="{{ caption }}"{% endif %}
data-at-450="{{ image.generate_thumbnail("x450") }}"
data-at-800="{{ image.generate_thumbnail("x800") }}"
data-at-1366="{{ image.generate_thumbnail("x1366") }}"
data-at-1920="{{ image.generate_thumbnail("x1920") }}"
>
<img class="responsive-img lazy" data-original="{{ image.generate_thumbnail("x2000") }}" alt="">
{% if caption %}
<div class="caption__overlay card-panel center">