Add title if condition

This commit is contained in:
Stephan Porada 2019-07-04 11:36:23 +02:00
parent b93bbcb756
commit f4fcba887d

View File

@ -1,8 +1,10 @@
<html> <html>
<head> <head>
<title> {% if title %}
Opaque - {% block title %}{% endblock %} <title>Opaque {{ title }}</title>
</title> {% else %}
<title>Opaque</title>
{% endif %}
<!-- import materialize icons css --> <!-- import materialize icons css -->
<link type="text/css" rel="stylesheet" href="{{ url_for('static', filename='fonts/material-design-icons-3.0.1/iconfont/material-icons.css') }}"> <link type="text/css" rel="stylesheet" href="{{ url_for('static', filename='fonts/material-design-icons-3.0.1/iconfont/material-icons.css') }}">
<!--Import materialize.css--> <!--Import materialize.css-->