federalist-basic-report-theme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.md +31 -0
  3. data/README.md +164 -0
  4. data/_includes/analytics.html +20 -0
  5. data/_includes/banner.html +1 -0
  6. data/_includes/components/banner.html +20 -0
  7. data/_includes/components/footer--medium.html +81 -0
  8. data/_includes/components/graphic-list.html +16 -0
  9. data/_includes/components/header--basic.html +74 -0
  10. data/_includes/components/header--extended.html +88 -0
  11. data/_includes/components/hero.html +32 -0
  12. data/_includes/components/sidenav--default.html +26 -0
  13. data/_includes/favicon.html +24 -0
  14. data/_includes/footer.html +3 -0
  15. data/_includes/graphic-list.html +2 -0
  16. data/_includes/header.html +9 -0
  17. data/_includes/meta.html +6 -0
  18. data/_includes/scripts.html +39 -0
  19. data/_includes/sidenav.html +27 -0
  20. data/_includes/skipnav.html +1 -0
  21. data/_includes/styles.html +14 -0
  22. data/_includes/subnav.html +5 -0
  23. data/_layouts/default.html +24 -0
  24. data/_layouts/home.html +43 -0
  25. data/_layouts/page.html +13 -0
  26. data/_layouts/post.html +7 -0
  27. data/_sass/components/_all.scss +7 -0
  28. data/_sass/components/_alt-color-section.scss +35 -0
  29. data/_sass/components/_footer.scss +26 -0
  30. data/_sass/components/_header.scss +27 -0
  31. data/_sass/components/_hero.scss +45 -0
  32. data/_sass/components/_nav-buttons.scss +24 -0
  33. data/_sass/components/_side-nav.scss +56 -0
  34. data/_sass/components/_site-width.scss +12 -0
  35. data/_sass/components/_top-nav.scss +73 -0
  36. data/_sass/components/_usa-banner.scss +29 -0
  37. data/assets/css/federalist.scss +91 -0
  38. data/assets/css/theme.scss +38 -0
  39. data/assets/docs/sample-document.pdf +0 -0
  40. data/assets/img/circle.png +0 -0
  41. data/assets/img/hero.png +0 -0
  42. data/assets/img/us_seal.png +0 -0
  43. data/assets/js/main.js +14 -0
  44. data/assets/js/vendor/anchor.min.js +6 -0
  45. metadata +143 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9f2fb5ccc18ae6c36c70883ebb5e7878cf2af9b5
4
+ data.tar.gz: 93e4a21ce3125abfc6bbad833fbe08745497f272
5
+ SHA512:
6
+ metadata.gz: d60adb5a9c5626646df541e7faf22226bba19562b42a322b30b319aa59ef3485657a8791b1315d8994d15d8fd522f8f3af0d9083651cb3142ca802f39968af8c
7
+ data.tar.gz: 1158a8d1acba4727266e110351517ab9488e1499f0a818643e7c244b0196e5755b0742547e3ade33a11ed6f8f60e99d98f1a59082a1e4bce1dea0b8854f39755
data/LICENSE.md ADDED
@@ -0,0 +1,31 @@
1
+ As a work of the United States government, this project is in the
2
+ public domain within the United States.
3
+
4
+ Additionally, we waive copyright and related rights in the work
5
+ worldwide through the CC0 1.0 Universal public domain dedication.
6
+
7
+ ## CC0 1.0 Universal summary
8
+
9
+ This is a human-readable summary of the [Legal Code (read the full text)](https://creativecommons.org/publicdomain/zero/1.0/legalcode).
10
+
11
+ ### No copyright
12
+
13
+ The person who associated a work with this deed has dedicated the work to
14
+ the public domain by waiving all rights to the work worldwide
15
+ under copyright law, including all related and neighboring rights, to the
16
+ extent allowed by law.
17
+
18
+ You can copy, modify, distribute and perform the work, even for commercial
19
+ purposes, all without asking permission.
20
+
21
+ ### Other information
22
+
23
+ In no way are the patent or trademark rights of any person affected by CC0,
24
+ nor are the rights that other persons may have in the work or in how the
25
+ work is used, such as publicity or privacy rights.
26
+
27
+ Unless expressly stated otherwise, the person who associated a work with
28
+ this deed makes no warranties about the work, and disclaims liability for
29
+ all uses of the work, to the fullest extent permitted by applicable law.
30
+ When using or citing the work, you should not imply endorsement by the
31
+ author or the affirmer.
data/README.md ADDED
@@ -0,0 +1,164 @@
1
+ [![CircleCI](https://circleci.com/gh/adborden/federalist-basic-report-theme.svg?style=svg)](https://circleci.com/gh/adborden/federalist-basic-report-theme)
2
+
3
+ # Federalist Basic Report Theme
4
+
5
+ This repo contains the Jekyll theme for the Basic Report [Federalist] template.
6
+
7
+ The Basic Report template is a simple, easy to use setup designed to host
8
+ multiple pages about a recent report or order. This setup provides a clean space
9
+ for complex details or instructions. Navigation can be customized to host many
10
+ pages while maintaining a clear hierarchy.
11
+
12
+
13
+ ## Installation
14
+
15
+ STOP! You probably want to create your site from
16
+ [Federalist](https://federalist.18f.gov/sites/new) and choose the "Basic Report"
17
+ template from there. If you already have a Jekyll site and want to move to the
18
+ Basic Report theme, read on!
19
+
20
+ Add this line to your Jekyll site's `Gemfile`:
21
+
22
+ ```ruby
23
+ gem "federalist-basic-report-theme"
24
+ ```
25
+
26
+ And add this line to your Jekyll site's `_config.yml`:
27
+
28
+ ```yaml
29
+ theme: federalist-basic-report-theme
30
+ ```
31
+
32
+ And then execute:
33
+
34
+ $ bundle
35
+
36
+ Or install it yourself as:
37
+
38
+ $ gem install federalist-basic-report-theme
39
+
40
+ ## Usage
41
+
42
+ TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
43
+
44
+ ### Site-wide Configuration
45
+
46
+ These are site-wide settings that can be configured in `_config.yml`.
47
+
48
+
49
+ #### `download_report_button` (object)
50
+
51
+ Configure the primary call to action in the header. The `text` is what the
52
+ button should display, the `href` is the path to your downloadable report PDF. The PDF
53
+ should be uploaded to the `assets/` directory.
54
+
55
+ ```
56
+ # _config.yml
57
+
58
+ download_report_button:
59
+ text: Download as PDF
60
+ href: /assets/docs/sample-document.pdf
61
+ ```
62
+
63
+ ### Page configuration
64
+
65
+ These settings can be added to the front-matter of your content pages.
66
+
67
+
68
+ #### `title` (string)
69
+
70
+ The title of your page.
71
+
72
+
73
+ #### `permalink` (string)
74
+
75
+ The URL path your page should appear as. e.g. `/my-page/`.
76
+
77
+
78
+ #### `subnav` (array)
79
+
80
+ The sidenav can display a subnav to jump to headings on the current page. It follows the
81
+ same syntax as `site.sidenav`.
82
+
83
+ ```
84
+ subnav:
85
+ - text: I. Ipsum
86
+ href: '#i-ipsum'
87
+ - text: II. Morem Ipsum
88
+ href: '#ii-morem-ipsum'
89
+ - text: III. Even Morem Ipsum
90
+ href: '#iii-even-morem-ipsum'
91
+ ```
92
+
93
+
94
+ ### Layouts
95
+
96
+ #### `page`
97
+
98
+ This is the main layout that most pages should use. It contains a sidenav that
99
+ can be configured in `_config.yml`.
100
+
101
+
102
+ #### `default`
103
+
104
+ The base layout with a header and footer. Additional layouts should inherit from
105
+ this one.
106
+
107
+
108
+ ### Includes
109
+
110
+ #### `header.html`
111
+
112
+ #### `
113
+
114
+ ### Stylesheets
115
+
116
+
117
+ ##### federalist.scss
118
+
119
+ This contains the USWDS Sass as well as additional styles for the common Federalist UI components.
120
+
121
+
122
+ ##### theme.scss
123
+
124
+ This contains styles specific to this Federalist theme.
125
+
126
+
127
+ ### Assets
128
+
129
+ Add your downloadable PDF report under the `assets/` directory. Then add
130
+ configuration for how you want the download report button.
131
+
132
+ ```
133
+ # _config.yml
134
+
135
+ download_report_button:
136
+ text: Download as PDF
137
+ href: /assets/docs/sample-document.pdf
138
+ ```
139
+
140
+
141
+ ## Development
142
+
143
+ To set up your environment to develop this theme, run `bundle install`.
144
+
145
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
146
+
147
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
148
+ To add a custom directory to your theme-gem, please edit the regexp in `federalist-basic-report-theme.gemspec` accordingly.
149
+
150
+
151
+ ## Contributing
152
+
153
+ See [CONTRIBUTING](CONTRIBUTING.md) for additional information.
154
+
155
+
156
+ ## Public domain
157
+
158
+ This project is in the worldwide [public domain](LICENSE.md). As stated in [CONTRIBUTING](CONTRIBUTING.md):
159
+
160
+ > This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the [CC0 1.0 Universal public domain dedication](https://creativecommons.org/publicdomain/zero/1.0/).
161
+ >
162
+ > All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.
163
+
164
+ [Federalist]: https://federalist.18f.gov/
@@ -0,0 +1,20 @@
1
+ {% if site.google_analytics_ua %}
2
+ <!-- Google Analytics -->
3
+ <script>
4
+ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
5
+ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
6
+ m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
7
+ })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
8
+ ga('create', '{{ site.google_analytics_ua }}', 'auto');
9
+
10
+ // anonymize user IPs (chops off the last IP triplet)
11
+ ga('set', 'anonymizeIp', true);
12
+ ga('set', 'forceSSL', true);
13
+ ga('send', 'pageview');
14
+ </script>
15
+ {% endif %}
16
+
17
+ {% if site.dap_agency %}
18
+ <!-- Digital Analytics Program roll-up, see https://analytics.usa.gov for data -->
19
+ <script id="_fed_an_ua_tag" src="https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js?agency={{ site.dap_agency }}"></script>
20
+ {% endif %}
@@ -0,0 +1 @@
1
+ {% include components/banner.html %}
@@ -0,0 +1,20 @@
1
+ <div class="usa-banner">
2
+ <div class="usa-accordion">
3
+ <header class="usa-banner-header">
4
+ <div class="usa-grid usa-banner-inner"> <img src="{{ site.baseurl }}/assets/uswds/img/favicons/favicon-57.png" alt="U.S. flag">
5
+ <p>An official website of the United States government</p> <button class="usa-accordion-button usa-banner-button" aria-expanded="false" aria-controls="gov-banner"> <span class="usa-banner-button-text">Here's how you know</span> </button> </div>
6
+ </header>
7
+ <div class="usa-banner-content usa-grid usa-accordion-content" id="gov-banner">
8
+ <div class="usa-banner-guidance-gov usa-width-one-half"> <img class="usa-banner-icon usa-media_block-img" src="{{ site.baseurl }}/assets/uswds/img/icon-dot-gov.svg" alt="Dot gov">
9
+ <div class="usa-media_block-body">
10
+ <p> <strong>The .gov means it’s official.</strong> <br> Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you're on a federal government site. </p>
11
+ </div>
12
+ </div>
13
+ <div class="usa-banner-guidance-ssl usa-width-one-half"> <img class="usa-banner-icon usa-media_block-img" src="{{ site.baseurl }}/assets/uswds/img/icon-https.svg" alt="Https">
14
+ <div class="usa-media_block-body">
15
+ <p> <strong>The site is secure.</strong> <br> The <strong>https://</strong> ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely. </p>
16
+ </div>
17
+ </div>
18
+ </div>
19
+ </div>
20
+ </div>
@@ -0,0 +1,81 @@
1
+ <footer class="usa-footer usa-footer-medium" role="contentinfo">
2
+
3
+ {% if site.show_last_updated_at %}
4
+ <div class="usa-grid">
5
+ <div class="usa-width-one-whole">
6
+ <p>Last updated: {{ page.last_modified_at | date: '%B %d, %Y at %I:%M %p' }}</p>
7
+ </div>
8
+ </div>
9
+ {% endif %}
10
+
11
+ {% unless site.show_return_to_top == false %}
12
+ <div class="usa-grid usa-footer-return-to-top">
13
+ <a href="#main-content">Return to top</a>
14
+ </div>
15
+ {% endunless %}
16
+
17
+
18
+
19
+ {% if site.footer_nav %}
20
+ {% assign footer_links = site.footer_nav %}
21
+ {% assign _sizes = 'whole half third fourth sixth' | split: ' ' %}
22
+ {% assign _size = footer_links.size | minus: 1 %}
23
+ {% assign _size = _sizes[_size] | default: 'whole' %}
24
+ <div class="usa-footer-primary-section">
25
+ <div class="usa-grid">
26
+ <nav class="usa-footer-nav">
27
+ <ul class="usa-unstyled-list">
28
+ {% for _link in footer_links %}
29
+ <li class="usa-width-one-{{ _size }} usa-footer-primary-content">
30
+ <a class="usa-footer-primary-link" href="{% if _link.external == true %}{{ _link.href }}{% else %}{{ _link.href | relative_url }}{% endif %}">
31
+ {{ _link.text }}
32
+ </a>
33
+ </li>
34
+ {% endfor %}
35
+ </ul>
36
+ </nav>
37
+ </div>
38
+ </div>
39
+ {% endif %}
40
+
41
+ <div class="usa-footer-secondary_section">
42
+ <div class="usa-grid">
43
+ <div class="usa-footer-logo usa-width-one-half">
44
+ <div class="usa-footer-logo usa-width-one-half">
45
+ <img class="usa-footer-logo-img" src="{{ site.contact.agency_logo | default: '/assets/uswds/img/logo-img.png' | relative_url }}" alt="{{ site.contact.agency_logo_alt | default: 'A U.S. Government seal.' }}">
46
+ <h3 class="usa-footer-logo-heading">{{ site.contact.agency_name | default: 'Name of agency' }}</h3>
47
+ </div>
48
+ </div>
49
+
50
+ <div class="usa-footer-contact-links usa-width-one-half">
51
+ {% assign social_links = site.contact.social_links %}
52
+ {% if site.contact.contact_links %}
53
+ {% for _link in social_links %}
54
+ <a class="usa-link-{{ _link.type | default: 'generic' }}" href="{% if _link.external == true %}{{ _link.href }}{% else %}{{ _link.href | relative_url }}{% endif %}">
55
+ <span>{{ _link.text }}</span>
56
+ </a>
57
+ {% endfor %}
58
+ {% endif %}
59
+ <h3 class="usa-footer-contact-heading">{{ site.contact.heading | default: 'Agency contact center' }}</h3>
60
+ {% if site.contact.contact_links %}
61
+ <address>
62
+ {% assign contact_links = site.contact.contact_links %}
63
+ {% for _link in contact_links %}
64
+ <div class="usa-footer-primary-content usa-footer-contact_info">
65
+ <p>
66
+ <a href="{% if _link.external == true %}{{ _link.href }}{% else %}{{ _link.href | relative_url }}{% endif %}">
67
+ {{ _link.text }}
68
+ </a>
69
+ </p>
70
+ </div>
71
+ {% endfor %}
72
+ </address>
73
+ {% endif %}
74
+ {% unless site.show_suggest_an_edit == false %}
75
+ <small><a href="https://github.com/{{ site.github.organization }}/{{ site.github.repository }}/edit/{{ site.github.default_branch }}/{{ page.path }}" class="usa-sidenav-edit" target="_blank">Edit this page</a></small>
76
+ {% endunless %}
77
+ </div>
78
+ </div>
79
+ </div>
80
+
81
+ </footer>
@@ -0,0 +1,16 @@
1
+ {% assign graphics = include.graphics %}
2
+ {% if graphics %}
3
+ <section class="usa-section usa-section-dark usa-graphic_list">
4
+ {% for graphic in graphics %}
5
+ {% cycle '<div class="usa-grid usa-graphic_list-row">', '' %}
6
+ <div class="usa-width-one-half usa-media_block">
7
+ <img class="usa-media_block-img" src="{{ graphic.image.src | relative_url }}" alt="{{ graphic.image.alt }}">
8
+ <div class="usa-media_block-body">
9
+ {% if graphic.title %}<h3>{{ graphic.title }}</h3>{% endif %}
10
+ {{ graphic.description | markdownify }}
11
+ </div>
12
+ </div>
13
+ {% cycle '', '</div>' %}
14
+ {% endfor %}
15
+ </section>
16
+ {% endif %}
@@ -0,0 +1,74 @@
1
+ {% if header %}
2
+ <header class="usa-header usa-header-basic" role="banner">
3
+
4
+ <div class="usa-nav-container">
5
+ <div class="usa-navbar">
6
+ <button class="usa-menu-btn">Menu</button>
7
+ <div class="usa-logo" id="logo">
8
+ <em class="usa-logo-text">
9
+ <a href="{% if header.href %}{{ header.href }}{% else %}{{ site.baseurl }}/{% endif %}" title="Home">
10
+ {{ header.title | default: site.title }}
11
+ </a>
12
+ </em>
13
+ </div>
14
+ </div>
15
+
16
+ <nav role="navigation" class="usa-nav">
17
+ <div class="usa-nav-inner">
18
+ <button class="usa-nav-close">
19
+ <img src="{{ site.baseurl }}/assets/uswds/img/close.svg" alt="close">
20
+ </button>
21
+
22
+ {% assign _primary = header.primary.links %}
23
+ {% assign primary_links = site.data.navigation[_primary] | default: _primary %}
24
+ {% if primary_links %}
25
+ <ul class="usa-nav-primary usa-accordion">
26
+ {% for _section in primary_links %}
27
+ <li>
28
+ {% if _section.links %}
29
+ {% assign section_links = site.data.navigation[_section.links] | default: _section.links %}
30
+ {% assign _section_id = _section.id %}
31
+ {% unless _section_id %}{% assign _section_id = 'nav-' | append: forloop.index %}{% endunless %}
32
+ <button class="usa-accordion-button usa-nav-link" aria-expanded="false" aria-controls="{{ _section_id }}">
33
+ <span>{{ _section.text }}</span>
34
+ </button>
35
+ <ul id="{{ _section_id }}" class="usa-nav-submenu" aria-hidden="true">
36
+ {% for _link in section_links %}
37
+ <li>
38
+ <a href="{% if _link.external %}{{ _link.href }}{% else %}{{ _link.href | relative_url }}{% endif %}">{{ _link.text }}</a>
39
+ </li>
40
+ {% endfor %}
41
+ </ul>
42
+ {% else %}
43
+ <a class="{% if _section.class %}{{ _section.class }}{% else %} usa-nav-link {% endif %} {% if _section.href == page.permalink %} usa-current{% endif %}" href="{% if _section.external %}{{ _section.href }}{% else %}{{ _section.href | relative_url }}{% endif %}">
44
+ <span>{{ _section.text }}</span>
45
+ </a>
46
+ {% endif %}
47
+ </li>
48
+ {% endfor %}
49
+ </ul>
50
+ {% endif %}
51
+
52
+ {% assign _secondary = header.secondary %}
53
+ {% if site.search_site_handle %}
54
+ <form accept-charset="UTF-8" action="https://search.usa.gov/search" id="search_form" method="get" class="usa-search usa-search-small js-search-form">
55
+ <div style="margin:0;padding:0;display:inline">
56
+ <input name="utf8" type="hidden" value="&#x2713;" />
57
+ </div>
58
+ <input id="affiliate" name="affiliate" type="hidden" value="{{ site.search_site_handle }}" />
59
+ <div role="search">
60
+ <label for="query" class="usa-sr-only">Enter Search Term(s):</label>
61
+ <input autocomplete="off" class="usagov-search-autocomplete" id="query" name="query" type="search" />
62
+ <button type="submit" name="commit">
63
+ <span class="usa-sr-only">Search</span>
64
+ </button>
65
+ </div>
66
+ </form>
67
+ {% endif %}
68
+ </div>
69
+ </div>
70
+ </nav>
71
+ </div>
72
+ </header>
73
+ <div class="usa-overlay"></div>
74
+ {% endif %}
@@ -0,0 +1,88 @@
1
+ <header class="usa-header usa-header-extended" role="banner">
2
+
3
+ <div class="usa-navbar">
4
+ <button class="usa-menu-btn">Menu</button>
5
+ <div class="usa-logo" id="logo">
6
+ <em class="usa-logo-text">
7
+ <a href="{% if header.href %}{{ header.href }}{% else %}{{ site.baseurl }}/{% endif %}" title="Home">
8
+ {{ header.title | default: site.title }}
9
+ </a>
10
+ </em>
11
+ </div>
12
+ </div>
13
+
14
+ <nav role="navigation" class="usa-nav">
15
+ <div class="usa-nav-inner">
16
+ <button class="usa-nav-close">
17
+ <img src="{{ site.baseurl }}/assets/uswds/img/close.svg" alt="close">
18
+ </button>
19
+
20
+ {% assign _primary = header.primary.links %}
21
+ {% assign primary_links = site.data.navigation[_primary] | default: _primary %}
22
+ {% if primary_links %}
23
+ <ul class="usa-nav-primary usa-accordion">
24
+ {% for _section in primary_links %}
25
+ <li>
26
+ {% if _section.links %}
27
+ {% assign section_links = site.data.navigation[_section.links] | default: _section.links %}
28
+ {% assign _section_id = _section.id %}
29
+ {% unless _section_id %}{% assign _section_id = 'nav-' | append: forloop.index %}{% endunless %}
30
+ <button class="usa-accordion-button usa-nav-link" aria-expanded="false" aria-controls="{{ _section_id }}">
31
+ <span>{{ _section.text }}</span>
32
+ </button>
33
+ <ul id="{{ _section_id }}" class="usa-nav-submenu" aria-hidden="true">
34
+ {% for _link in section_links %}
35
+ <li>
36
+ <a href="{% if _link.external %}{{ _link.href }}{% else %}{{ _link.href | relative_url }}{% endif %}">{{ _link.text }}</a>
37
+ </li>
38
+ {% endfor %}
39
+ </ul>
40
+ {% else %}
41
+ <a class="{% if _section.class %}{{ _section.class }}{% else %} usa-nav-link {% endif %} {% if _section.href == page.permalink %} usa-current{% endif %}" href="{% if _section.external %}{{ _section.href }}{% else %}{{ _section.href | relative_url }}{% endif %}">
42
+ <span>{{ _section.text }}</span>
43
+ </a>
44
+ {% endif %}
45
+ </li>
46
+ {% endfor %}
47
+ </ul>
48
+ {% endif %}
49
+
50
+ <div class="usa-nav-secondary">
51
+ {% if site.search_site_handle %}
52
+ <form accept-charset="UTF-8" action="https://search.usa.gov/search" id="search_form" method="get" class="usa-search usa-search-small js-search-form usa-sr-only">
53
+ <div style="margin:0;padding:0;display:inline">
54
+ <input name="utf8" type="hidden" value="&#x2713;" />
55
+ </div>
56
+ <input id="affiliate" name="affiliate" type="hidden" value="{{ site.search_site_handle }}" />
57
+ <div role="search">
58
+ <label for="query" class="usa-sr-only">Enter Search Term(s):</label>
59
+ <input autocomplete="off" class="usagov-search-autocomplete" id="query" name="query" type="search" />
60
+ <button type="submit" name="commit">
61
+ <span class="usa-sr-only">Search</span>
62
+ </button>
63
+ </div>
64
+ </form>
65
+ {% endif %}
66
+ <ul class="usa-unstyled-list usa-nav-secondary-links">
67
+ {% if site.search_site_handle %}
68
+ <li class="js-search-button-container">
69
+ <button class="usa-header-search-button js-search-button">Search</button>
70
+ </li>
71
+ {% endif %}
72
+ {% assign _link = site.download_report_button %}
73
+ <li>
74
+ <a
75
+ href="{% if _link.external %}{{ _link.href }}{% else %}{{ _link.href | default: '/assets/docs/sample-document.pdf' | relative_url }}{% endif %}"
76
+ class="{{ 'usa-button ' | append: _link.class }}"
77
+ role="button"
78
+ >
79
+ {{ _link.text | default: 'Download report' }}
80
+ </a>
81
+ </li>
82
+ </ul>
83
+ </div>
84
+
85
+ </div>
86
+ </nav>
87
+ </header>
88
+ <div class="usa-overlay"></div>