diff options
author | Jaakko Luttinen <jaakko.luttinen@iki.fi> | 2014-10-20 19:59:28 +0300 |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2015-03-12 21:31:23 +0200 |
commit | c8c09bc43b91c0c78ad281e66aee713ff991909a (patch) | |
tree | 79b8aaefac4c064a81f28afc80244436f8a657bf | |
parent | bcf6c274266ef6d36ba25d77eb82645ef88dd0f6 (diff) | |
download | mediagoblin-c8c09bc43b91c0c78ad281e66aee713ff991909a.tar.lz mediagoblin-c8c09bc43b91c0c78ad281e66aee713ff991909a.tar.xz mediagoblin-c8c09bc43b91c0c78ad281e66aee713ff991909a.zip |
Fix welcome image URL in the front page template (#902)
The Goblin image URL was hardcoded in the frontpage welcome
template. Now it correctly uses the static directory settings.
Signed-off-by: Berker Peksag <berker.peksag@gmail.com>
-rw-r--r-- | mediagoblin/templates/mediagoblin/bits/frontpage_welcome.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/templates/mediagoblin/bits/frontpage_welcome.html b/mediagoblin/templates/mediagoblin/bits/frontpage_welcome.html index 3d93ea52..ec53159f 100644 --- a/mediagoblin/templates/mediagoblin/bits/frontpage_welcome.html +++ b/mediagoblin/templates/mediagoblin/bits/frontpage_welcome.html @@ -44,7 +44,7 @@ {%- endtrans %} </div> <div class="four columns offset-by-one"> - <img class="welcomeimage" src="/mgoblin_static/images/home_goblin.png"> + <img class="welcomeimage" src="{{ request.staticdirect('/images/home_goblin.png') }}"> </div> </div> <div class="clear"></div> |