diff --git a/templates/imagelist.njk b/templates/imagelist.njk index ae77e15..1c7734d 100644 --- a/templates/imagelist.njk +++ b/templates/imagelist.njk @@ -1,8 +1,8 @@ -{% macro images_list(image_list) %} +{% macro images_list(image_list, height=31) %}
{% for image in image_list %} - {{ image.url }} diff --git a/templates/index.njk b/templates/index.njk index 1e287a9..606956b 100755 --- a/templates/index.njk +++ b/templates/index.njk @@ -13,7 +13,7 @@ Funni gifs {% from "imagelist.njk" import images_list as il2 %} - {{ il2(image("gif") ) }} + {{ il2(image("gif"), height=50 ) }}

Frens