-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout.twig
72 lines (62 loc) · 2.01 KB
/
layout.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html lang={{ html.lang|default("ru") }}>
<head>
{% block head %}
<title>{{ pageTitle | default('DeltaPHP Demo Site') }}</title>
<meta name="description"
content="{{ pageDescription | default('Simple and fast PHP 5.4+ MVC framework with a modular organization') }}"/>
<meta charset="utf-8">
<base href="/">
{% if canonicalRef %}
<link rel="canonical" href="{{ canonicalRef }}"/>
{% endif %}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{{ asset_css([
"bootstrap/dist/css/bootstrap.css",
"bootstrap/dist/css/bootstrap-theme.css",
], default, true) }}
{#
<!--[if lt IE 9]>
{{ asset_js(["html5shiv/dist/html5shiv.min.js", "respond/dest/respond.min.js"], default, true) }}
<![endif]-->#}
{{ asset_js([
"jquery/dist/jquery.min.js",
"bootstrap/dist/js/bootstrap.min.js"
], default, true) }}
{% endblock head %}
</head>
<body>
{% block body %}
<div class="container">
{% block content %}
<div class="row">
<aside class="col-md-3">
{% block aside %}
{% endblock aside %}
</aside>
<article class="col-md-9">
{% block article %}
{% endblock article %}
</article>
</div>
{% endblock content %}
</div>
<footer>
<div class="container">
<div class="row">
<div class="col-md-12 footer">
{% block footer %}
<p>© <a href="http://deltaphp.org">DeltaPHP</a> 2014</p>
{% endblock footer %}
</div>
</div>
</div>
</footer>
{% if includeAnalitics %}
{% block counters %}
{% include "analitics.twig" %}
{% endblock counters %}
{% endif %}
{% endblock body %}
</body>
</html>