-
Notifications
You must be signed in to change notification settings - Fork 122
/
default.html
60 lines (49 loc) · 1.54 KB
/
default.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
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
---
main: foo, bar, qaz
---
<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: 'en-US' }}">
<head>
{% include meta.html %}
{% include styles.html %}
{% if site.google_analytics_ua or site.dap_agency %}
{% include analytics.html %}
{% endif %}
</head>
<body class="{{ layout.class }} {{ page.class }} {% if site.site_width %}site-{{ site.site_width }}{% endif %}">
{% include skipnav.html %}
{% include header.html %}
{% assign hero = page.hero %}
{% include components/hero.html %}
{% if page.tagline and page.intro %}
<section class="grid-container usa-section">
<div class="grid-row grid-gap">
<div class="tablet:grid-col-4">
<h2 class="font-heading-xl margin-top-0 tablet:margin-bottom-0">{{ page.tagline }}</h2>
</div>
<div class="tablet:grid-col-8 usa-prose">
{{ page.intro | markdownify }}
</div>
</div>
</section>
{% endif %}
{% capture _graphics %}
{% include graphic-list.html graphics=page.graphics %}
{% endcapture %}
{% if page.graphics_position != 'after' %}
{{ _graphics }}
{% endif %}
{% if page.layout == 'post' %}
{{ content }}
{% else %}
<main id="main-content"{% for _attr in layout.main %} {{ _attr[0] }}="{{ _attr[1] }}"{% endfor %}>
{{ content }}
</main>
{% endif %}
{% if page.graphics_position == 'after' %}
{{ _graphics }}
{% endif %}
{% include footer.html %}
{% include scripts.html %}
</body>
</html>