forked from 18F/uswds-jekyll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.html
25 lines (23 loc) · 817 Bytes
/
page.html
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
---
layout: default
main:
class: usa-layout-docs usa-layout-docs__main desktop:grid-col-9 usa-prose
---
<div class="usa-section">
<div class="grid-container">
<div class="grid-row grid-gap flex-align-start">
{% assign sidenav = site.data.navigation[page.sidenav] | default: page.sidenav %}
{% if sidenav %}
<div class="usa-layout-docs__sidenav desktop:grid-col-3{% if page.sticky_sidenav %} usa-sticky-sidenav{% endif %}">
{% include sidenav.html links=sidenav %}
</div>
{% endif %}
<main class="usa-layout-docs usa-layout-docs__main usa-prose{% if sidenav %} desktop:grid-col-9{% endif %}" id="main-content">
{% if page.title %}
<h1>{{ page.title }}</h1>
{% endif %}
{{ content }}
</main>
</div>
</div>
</div>