mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
Add title if condition
This commit is contained in:
parent
b93bbcb756
commit
f4fcba887d
@ -1,8 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
Opaque - {% block title %}{% endblock %}
|
||||
</title>
|
||||
{% if title %}
|
||||
<title>Opaque – {{ title }}</title>
|
||||
{% else %}
|
||||
<title>Opaque</title>
|
||||
{% endif %}
|
||||
<!-- 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') }}">
|
||||
<!--Import materialize.css-->
|
||||
@ -12,7 +14,7 @@
|
||||
</head>
|
||||
<body class="blue-grey lighten-5">
|
||||
{% block body %}
|
||||
|
||||
|
||||
{% endblock %}
|
||||
|
||||
<!--JavaScript at end of body for optimized loading-->
|
||||
|
Loading…
Reference in New Issue
Block a user