forked from USDA-ARS-GBRU/scinet-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.html
52 lines (42 loc) · 1.3 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
---
---
<!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="usa-grid usa-section">
<div class="usa-width-one-third">
<h2>{{ page.tagline }}</h2>
</div>
<div class="usa-width-two-thirds">
{{ page.intro | markdownify }}
</div>
</section>
{% endif %}
{% capture _graphics %}
{% include graphic-list.html graphics=page.graphics %}
{% endcapture %}
{% if page.graphics_position != 'after' %}
{{ _graphics }}
{% endif %}
<main id="main-content"{% for _attr in layout.main %} {{ _attr[0] }}="{{ _attr[1] }}"{% endfor %}>
{{ content }}
</main>
{% if page.graphics_position == 'after' %}
{{ _graphics }}
{% endif %}
{% include footer.html %}
{% include scripts.html %}
</body>
</html>