From b45c10fe7887740c0284bfd8c2fdde0276ac9ae6 Mon Sep 17 00:00:00 2001 From: TonyFord <tonyford@strategy-investor.de> Date: Wed, 10 Jun 2020 14:54:28 +0200 Subject: [PATCH] bugfix --- _includes/overview.html | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/_includes/overview.html b/_includes/overview.html index dfa5493..d9feff0 100644 --- a/_includes/overview.html +++ b/_includes/overview.html @@ -34,17 +34,7 @@ <div class="orderlist-date"> <div class="image"><small>{{ site.data.orderbook-update | map: peer[0] | map: 'time' }}</small> - {% assign P = o.image | imagesize %}{% assign Ps = P | size %} - {% if Ps == 2 %} - {% assign px = P[0] | times: P[1] %} - {% if px < site.px_max %} - <img src="{{ o.image }}"> - {% else %} - image too large! (max: {{ site.px_max | decimals | divided_by: 1000000 | decimals }}Mpx ) - {% endif %} - {% else %} - - {% endif %} + {% if o.image %}<img src="{{ o.image }}">{% endif %} </div> </div> -- GitLab