summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_includes/image.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/_includes/image.html b/_includes/image.html
index 30af037..8875050 100644
--- a/_includes/image.html
+++ b/_includes/image.html
@@ -31,7 +31,11 @@
{%- endfor %}
{%- endif %}
<img style="max-height: 60vh;"
+ {% if include.width < 1000 %}
src="/img/{{ include.dir }}/{{ include.file }}"
+ {% else %}
+ src="/img/{{ include.dir }}/1000px/{{ include.file }}"
+ {% endif %}
alt="{{ include.descr }}" />
</picture>
</a>