This repository has been archived by the owner on Jan 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path_master.twig
77 lines (62 loc) · 2.41 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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="{{ htmllang() }}"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="{{ htmllang() }}"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="{{ htmllang() }}"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="{{ htmllang() }}"> <!--<![endif]-->
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{# make sure we always display a proper title: The record's title if there is one, appended with the
sitename. If there is no title, we append the sitename with the payoff, if there is one. #}
<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 %}
</title>
<!-- Included CSS Files -->
<link rel="stylesheet" href="{{ asset('css/normalize.css', 'theme') }}">
<link rel="stylesheet" href="{{ asset('css/foundation.css', 'theme') }}">
<script src="{{ asset('js/vendor/modernizr.js', 'theme') }}"></script>
</head>
<body>
<div class="contain-to-grid">
<nav class="top-bar" data-topbar>
<ul class="title-area">
<li class="name">
<h1><a href="{{ url('homepage') }}">{{ app.config.get('general/sitename') }}</a></h1>
</li>
<li class="toggle-topbar menu-icon"><a href="#">Menu</a></li>
</ul>
<section class="top-bar-section">
<!-- Right Nav Section -->
<ul class="left">
{{ menu('main', '_sub_menu.twig') }}
</ul>
</ul>
<ul class="right">
{% include '_sub_searchbox.twig' %}
</ul>
</section>
</nav>
</div>
<!-- End Header -->
{% block main %}{% endblock main %}
<!-- FOOTER -->
<footer class="row">
<div class="large-12 columns">
<hr>
<div class="row">
<div class="large-6 columns">
<p> Themed by <a href="https://pixelswap.fr/" target="_blank">Corentin Mors</a> © Bolt CMS </p>
</div>
</div>
</div>
</footer>
<!-- End Footer -->
<script src="{{ asset('js/vendor/jquery.js', 'theme') }}"></script>
<script src="{{ asset('js/foundation.min.js', 'theme') }}"></script>
<script>
$(document).foundation();
</script>
</body>
</html>