1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-23 01:30:01 +01:00

fix image urls

This commit is contained in:
Matthias Kretschmann 2017-07-23 21:51:40 +02:00
parent d844685cd2
commit 2b3d5c5ea1
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -1,14 +1,14 @@
{% case include.size %}
{% when 'phototeaser' %}
{% assign pictureSize = 'w_940,h_700,c_fill' %}
{% assign pictureSizeRetina = 'w_1880,h_1400,c_fill' %}
{% assign pictureSize = 'w_940%2Ch_700%2Cc_fill' %}
{% assign pictureSizeRetina = 'w_1880%2Ch_1400%2Cc_fill' %}
{% when 'photothumb' %}
{% assign pictureSize = 'w_190,h_190,c_thumb' %}
{% assign pictureSizeRetina = 'w_380,h_380,c_thumb' %}
{% assign pictureSize = 'w_190%2Ch_190%2Cc_thumb' %}
{% assign pictureSizeRetina = 'w_380%2Ch_380%2Cc_thumb' %}
{% when 'featured' %}
{% assign pictureSize = 'w_275,h_100,c_fill' %}
{% assign pictureSizeRetina = 'w_550,h_200,c_fill' %}
{% assign pictureSize = 'w_275%2Ch_100%2Cc_fill' %}
{% assign pictureSizeRetina = 'w_550%2Ch_200%2Cc_fill' %}
{% else %}
{% assign pictureSize = 'w_940' %}
{% assign pictureSizeRetina = 'w_1880' %}