-
Notifications
You must be signed in to change notification settings - Fork 3
/
master.twig
79 lines (72 loc) · 2.36 KB
/
master.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
73
74
75
76
77
78
79
<!DOCTYPE HTML>
<!--
Spatial by TEMPLATED
templated.co @templatedco
Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)
-->
<html>
<head>
{% block head %}
<title>
{% block title %}
{% if record.title is defined %} {{ record.title|striptags }} | {% endif %}
{{ app.config.get('general/sitename') }}
{% if record.title is not defined and app.config.get('general/payoff') %} | {{ app.config.get('general/payoff') }}
{% endif %}
{% endblock title %}
</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<script>
var paths = {
theme : '{{ paths.theme }}'
};
</script>
<!--[if lte IE 8]><script src="js/html5shiv.js"></script><![endif]-->
<script src="{{ paths.theme }}js/jquery.min.js"></script>
<script src="{{ paths.theme }}js/skel.js"></script>
<script src="{{ paths.theme }}js/skel-layers.min.js"></script>
<script src="{{ paths.theme }}js/init.js"></script>
<noscript>
<link rel="stylesheet" href="{{ paths.theme }}css/skel.css" />
<link rel="stylesheet" href="{{ paths.theme }}css/style.css" />
<link rel="stylesheet" href="{{ paths.theme }}css/style-xlarge.css" />
</noscript>
{% endblock head %}
</head>
<body class="{% block bodyclass %}{% endblock bodyclass %}">
<!-- Header -->
<header id="header" class="{% block headerclass %}alt{% endblock headerclass %}">
{% block header %}
<h1><strong><a href="{{ paths.root }}">Spatial</a></strong> by Templated</h1>
<nav id="nav">
<ul>
{{ menu('main', '_menu.twig') }}
</ul>
</nav>
{% endblock header %}
</header>
{% block banner %}
{% endblock banner %}
{% block main %}
{% endblock main %}
<!-- Footer -->
<footer id="footer">
{% block footer %}
<div class="container">
<ul class="icons">
<li><a href="#" class="icon fa-facebook"></a></li>
<li><a href="#" class="icon fa-twitter"></a></li>
<li><a href="#" class="icon fa-instagram"></a></li>
</ul>
<ul class="copyright">
<li>© Untitled</li>
<li>Design: <a href="http://templated.co">TEMPLATED</a></li>
<li>Images: <a href="http://unsplash.com">Unsplash</a></li>
</ul>
</div>
{% endblock footer %}
</footer>
</body>
</html>