Switch to url_for :)

This commit is contained in:
Armin Ronacher 2010-05-16 14:33:32 +02:00
parent 1c5db9ab80
commit 9e5de5538f
10 changed files with 11 additions and 11 deletions

View file

@ -2,7 +2,7 @@
{% block head %}
{{ super() }}
<style type=text/css>
h1 { margin: 0 0 30px 0; background: url(/static/logo.png) no-repeat center; height: 165px; }
h1 { margin: 0 0 30px 0; background: url({{ url_for('.static', filename='login.png') }}) no-repeat center; height: 165px; }
h1 span, p.tagline { display: none; }
</style>
<link href="{{ tweets.feed_url }}" rel="alternate" title="Flask on Twitter" type="application/atom+xml">