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

@ -3,7 +3,7 @@
{{ super() }}
<link href="{{ url_for('recent_feed') }}" rel="alternate" title="Recent Flask Snippets" type="application/atom+xml">
<style type=text/css>
h1 { background-image: url(/static/snippets.png); }
h1 { background-image: url({{ url_for('.static', filename='snippets.png') }}); }
</style>
{% endblock %}
{% block body_title %}