From bfb0dc64dc4aa93ede6109b0603f183b2212d9b5 Mon Sep 17 00:00:00 2001 From: Gert Date: Fri, 24 Apr 2015 12:17:17 +0200 Subject: [PATCH] show thumbnails for installable themes [fix #40] --- themes/grav/templates/partials/themes-list.html.twig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/grav/templates/partials/themes-list.html.twig b/themes/grav/templates/partials/themes-list.html.twig index 984b4951..06cb7e0b 100644 --- a/themes/grav/templates/partials/themes-list.html.twig +++ b/themes/grav/templates/partials/themes-list.html.twig @@ -20,7 +20,8 @@ v{{ theme.version }}
- + {% set thumb = installing ? 'http://getgrav.org/images/' ~ theme.screenshot : theme.thumbnail %} +
{% if (installing) %}