-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathlayout.twig
More file actions
52 lines (37 loc) · 1.45 KB
/
layout.twig
File metadata and controls
52 lines (37 loc) · 1.45 KB
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
<!doctype html>
<html class="no-js" lang="{{ page.seoLang }}">
<head>
{% include "includes/head.twig" %}
{% include basekit.headScript %}
</head>
<body class="{{ page.backgroundClass }} {% block class %}{% endblock %}" {{ isV10sSite ? 'id="migrated-site"' : '' }}>
<!-- Container -->
<div class="site-container">
<!-- Page Content -->
<section class="inner-container">
<!-- Header Include -->
{% include "includes/header.twig" %}
<!-- Main Widget Zone -->
{% block content %}
{% endblock %}
</section>
<!-- Footer Include -->
{% include "includes/footer.twig" %}
</div>
{% include basekit.bodyScript %}
<!-- Nav Menu Script -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script nonce="{{ numberUsedOnce }}">
// Toggles class open to display/hide the whole navigation
$(document).on("click", ".navigation-toggle", function() {
$( "body" ).toggleClass( "open" );
});
// Toggles class open to display/hide folders
$( ".navigation-item.folder" ).each(function() {
$( this ).click(function() {
$( this ).toggleClass( "open" );
});
});
</script>
</body>
</html>