-
Notifications
You must be signed in to change notification settings - Fork 145
/
Copy pathdefault.ejs
33 lines (30 loc) · 1.07 KB
/
default.ejs
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
<!DOCTYPE html>
<html>
<%- include('partials/head') %>
<body>
<h1 class="visually-hidden">Default template</h1>
<%- include('partials/header') %>
<%- include('partials/nav') %>
<div class="g-body">
<div class="g-left-panel">
<% if (locals.sections && locals.sections.length) { %>
<!-- is this TOC -->
<%- include('partials/sectionList') %>
<% } %>
<!-- Hide sibling docs on normal pages -->
<!-- <% if (locals.siblings && siblings.length) { %>
<%- include('partials/siblingList', {kicker: template('folder.siblingList.heading')}) %>
<% } %> -->
</div>
<div class="g-main-content">
<% if (locals.content) { %>
<%- content %>
<% } %>
<% if (locals.children && children.length) { %>
<%- include('partials/childrenList', {children, kicker: template('folder.childrenList.kicker', title)}) %>
<% } %>
</div>
<%- include('partials/footer', { pageType: 'document', topLevelFolder: url.split('/')[1] }) %>
</div>
</body>
</html>