-
Notifications
You must be signed in to change notification settings - Fork 0
/
_base.twig
45 lines (42 loc) · 1.19 KB
/
_base.twig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charset="utf-8" />
<title>{{entry.title ?? pageTitle ?? null}}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
<meta name="referrer" content="origin-when-cross-origin" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css">
</head>
<body>
<br>
<div class="container">
<div class="box">
{% include '_user/partials/user-widget' %}
{% include '_user/partials/flash-messages' %}
{% if pageTitle is defined %}
<h1 class="title">{{pageTitle}}</h1>
{% endif %}
{% block content %}{% endblock %}
</div>
</div>
</body>
</html>
{% css %}
{# example styles #}
.container{
max-width: 30rem !important;
}
.user-widget a{
margin-right: 0.5rem;
}
{# show requried fields - but not in login form #}
.is-required label:after{
content: '*';
color: red;
margin-left: 0.5rem;
}
.login-form .is-required label:after{
content: '';
}
{% endcss %}