This repository has been archived by the owner on May 29, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
108 lines (97 loc) · 2.38 KB
/
index.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
---
layout: default
sections:
- id: work
title: Our Work
- id: report
title: Research Report
- id: contact
title: Contact Us
header_icons:
- cloud
- sun
- graph
downloads:
- href: /download/sample-download1.pdf
text:
primary: First download
secondary: Put download size here
image:
href: /img/report-cover.png
alt: report cover
- href: /download/sample-download2.pdf
text:
primary: Second download
secondary:
scripts:
- main.js
---
<!-- - href: https://www.google.com
text:
primary: View the presentation
secondary: Google Slides
image:
href: /img/report-cover.png
alt: report cover -->
<header>
<div class="flag-container">
<a href="https://18f.gsa.gov">
<img class="usa-flag" src="img/us_flag_large.png">
</a>
<p>An official website of the U.S. government</p>
</div>
<aside id="downloads">
<h3>Downloads<span id="caret"></span></h3>
<ul>
{% for download in page.downloads %}
<li>
<a href="{{ download.href | prepend: site.baseurl }}">
<div class="download-text">
<strong>{{ download.text.primary }}</strong>
<span>{{ download.text.secondary }}</span>
</div>
{% if download.image %}
<div class="download-image">
<img src="{{ download.image.href | prepend: site.baseurl }}" alt="{{ download.image.alt }}">
</div>
{% endif %}
</a>
</li>
{% endfor %}
</ul>
</aside>
<div class="container">
<h1>
<div>
{% for icon in page.header_icons %}
<img class="icon {{ icon }}" src="{{ site.baseurl }}/img/icons/{{ icon }}.svg">
{% endfor %}
</div>
Your Federalist Website would put its summary here
</h1>
</div>
<nav>
<ul class="container">
{% for section in page.sections %}
<li><a href="#{{ section.id }}">{{ section.title }}</a></li>
{% endfor %}
</ul>
</nav>
</header>
<main>
{% for section in page.sections %}
<section id="{{ section.id }}">
<div class="container">
<h1>{{ section.title }}</h1>
{% capture content %}{% include {{ section.id }}.md %}{% endcapture %}
{{ content | markdownify }}
</div>
</section>
{% endfor %}
</main>
<footer>
<div class="container">
{% capture footer %}{% include footer.md %}{% endcapture %}
{{ footer | markdownify }}
</div>
</footer>