Skip to content
Snippets Groups Projects
Commit f4fcba88 authored by Stephan Porada's avatar Stephan Porada :speech_balloon:
Browse files

Add title if condition

parent b93bbcb7
No related branches found
No related tags found
No related merge requests found
<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-->
...@@ -12,7 +14,7 @@ ...@@ -12,7 +14,7 @@
</head> </head>
<body class="blue-grey lighten-5"> <body class="blue-grey lighten-5">
{% block body %} {% block body %}
{% endblock %} {% endblock %}
<!--JavaScript at end of body for optimized loading--> <!--JavaScript at end of body for optimized loading-->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment