-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlayout.twig
More file actions
32 lines (25 loc) · 853 Bytes
/
layout.twig
File metadata and controls
32 lines (25 loc) · 853 Bytes
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
<!doctype html>
<html lang="{{ page.seoLang }}">
<head>
{% include 'includes/head.twig' %}
{% include basekit.headScript %}
</head>
<body class="{{ page.backgroundClass }} {{ site.colorSwatch }}" {{ isV10sSite ? 'id="migrated-site"' : '' }}>
{% block content %}
{% endblock %}
{% include 'includes/footer.twig' %}
{% include basekit.bodyScript %}
<script>
(function() {
var $body = document.getElementById("wrap");
$menu_trigger = document.getElementsByClassName('pull')[0];
if ( typeof $menu_trigger !== 'undefined' ) {
$menu_trigger.addEventListener('click', function() {
$body.className = ( $body.className == 'menu-active' )? '' : 'menu-active';
bk$(this).addClass('menu-active').removeClass('menu-active');
});
}
}).call(this);
</script>
</body>
</html>