Add url_for() for static assets

This commit is contained in:
Ymage
2020-05-20 00:03:36 +02:00
parent 0ef132a7be
commit 99f12df748
4 changed files with 8 additions and 8 deletions

View File

@ -5,7 +5,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Email confirmation - {{ SITE_NAME }}</title>
<link rel="icon" href="/static/img/favicon.png">
<link rel="icon" href="{{ url_for('static', filename='img/favicon.png') }}">
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
{% assets "css_login" -%}