Fixed hardcoded HTTP protocol, throwing warning when using HTTPS

This commit is contained in:
Djamil Legato
2016-01-07 10:29:54 -08:00
parent 785c417586
commit c834a53d99

View File

@@ -25,7 +25,7 @@
<span class="gpm-version">v{{ theme.version }}</span>
</div>
<div class="gpm-screenshot">
{% set thumb = installing ? 'http://getgrav.org/images/' ~ theme.screenshot : theme.thumbnail %}
{% set thumb = installing ? '//getgrav.org/images/' ~ theme.screenshot : theme.thumbnail %}
<a href="{{ base_url_relative }}/themes/{{ slug|url_encode }}"><img src="{{ thumb }}" /></a>
</div>
{% if (state == 'installing') %}