Compare commits
No commits in common. "2dd3a87fae11ed40ea508535f4bd4440b188ed2c" and "832d4da5af4db3470ed71c2c6436a326bf85089f" have entirely different histories.
2dd3a87fae
...
832d4da5af
4 changed files with 1 additions and 20 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -21,7 +21,6 @@ tags
|
||||||
.models/
|
.models/
|
||||||
.flowblocks/
|
.flowblocks/
|
||||||
temp/
|
temp/
|
||||||
packages/
|
|
||||||
|
|
||||||
# ---> Windows
|
# ---> Windows
|
||||||
# Windows thumbnail cache files
|
# Windows thumbnail cache files
|
||||||
|
|
|
@ -27,4 +27,3 @@ url_prefix = /en/
|
||||||
|
|
||||||
[packages]
|
[packages]
|
||||||
lektor-scss = 1.4.1
|
lektor-scss = 1.4.1
|
||||||
lektor-image-resize = 0.2.0
|
|
||||||
|
|
|
@ -1,17 +0,0 @@
|
||||||
[tiny]
|
|
||||||
max_width = 128
|
|
||||||
|
|
||||||
[small]
|
|
||||||
max_width = 420
|
|
||||||
use_guetzli = True
|
|
||||||
|
|
||||||
[medium]
|
|
||||||
max_width = 960
|
|
||||||
use_guetzli = True
|
|
||||||
|
|
||||||
[large]
|
|
||||||
max_width = 1600
|
|
||||||
use_guetzli = True
|
|
||||||
|
|
||||||
[woowee]
|
|
||||||
max_width = 2160
|
|
|
@ -4,7 +4,7 @@
|
||||||
{%- if this.box_image is defined and this.box_image != '' -%}
|
{%- if this.box_image is defined and this.box_image != '' -%}
|
||||||
{%- set image = record.attachments.images.get(this.box_image) -%}
|
{%- set image = record.attachments.images.get(this.box_image) -%}
|
||||||
{{- '\n ' -}} <img class="content__inner_third_image content__half_box_image" src="{{ image|url }}"
|
{{- '\n ' -}} <img class="content__inner_third_image content__half_box_image" src="{{ image|url }}"
|
||||||
{{- '\n ' -}} width="{{ image.width / 2 | int }}"
|
{{- '\n ' -}} width="{{ image.width / 2 }}"
|
||||||
{%- if this.image_alt is defined and this.image_alt != "" -%}
|
{%- if this.image_alt is defined and this.image_alt != "" -%}
|
||||||
{{- ' ' -}}
|
{{- ' ' -}}
|
||||||
alt="{{ this.image_alt }}"
|
alt="{{ this.image_alt }}"
|
||||||
|
|
Loading…
Reference in a new issue