This repository has been archived by the owner on Sep 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactor build and templates * Fix blog/index.html frontmatter * Update icon links * Remove post install * Move a11y to a dev dependency * Remove Federalist script * Package.json updates * Remove GA code * update readme
- Loading branch information
1 parent
eb7d59b
commit 8d2e680
Showing
21 changed files
with
337 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,5 @@ _site | |
.sass-cache | ||
.jekyll-metadata | ||
node_modules | ||
assets/js | ||
assets/uswds | ||
_sass/uswds | ||
.bundle | ||
.jekyll-cache/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ | |
########################################################################################## | ||
|
||
title: Agency Name | ||
email: [email protected] | ||
email: [email protected] | ||
description: >- # this means to ignore newlines until "baseurl:" | ||
Agency Name (EAC) Lorem ipsum dolor sit amet, consectetur adipiscing elit. | ||
Aenean et sapien a leo auctor scelerisque quis nec magna. Sed dictum ante a risus vehicula facilisis. | ||
|
@@ -48,26 +48,26 @@ primary_navigation: | |
- name: Document submenu | ||
children: | ||
- name: Navigation link | ||
url: '#main-content' | ||
url: "#main-content" | ||
- name: Navigation link | ||
url: '#main-content' | ||
url: "#main-content" | ||
- name: Navigation link | ||
url: '#main-content' | ||
url: "#main-content" | ||
|
||
secondary_navigation: | ||
- name: Secondary link | ||
url: '#main-content' | ||
url: "#main-content" | ||
- name: Another secondary link | ||
url: '#main-content' | ||
url: "#main-content" | ||
|
||
# Search.gov configuration | ||
# | ||
# 1. Create an account with Search.gov https://search.usa.gov/signup | ||
# 2. Add a new site. | ||
# 3. Add your site/affiliate name here. | ||
searchgov: | ||
endpoint: https://search.usa.gov # You should not change this. | ||
affiliate: federalist-uswds-example # replace this with your search.gov account | ||
endpoint: https://search.usa.gov # You should not change this. | ||
affiliate: federalist-uswds-example # replace this with your search.gov account | ||
access_key: xX1gtb2RcnLbIYkHAcB6IaTRr4ZfN-p16ofcyUebeko= # This is placeholder. Not private. | ||
inline: true #this renders the results on the same domain. Otherwise, it will render the results in the search.gov domain | ||
|
||
|
@@ -76,15 +76,13 @@ searchgov: | |
# changed if you know what they do | ||
########################################################################################## | ||
|
||
|
||
collections: | ||
pages: | ||
output: true | ||
permalink: /:path/ | ||
|
||
permalink: pretty | ||
|
||
|
||
markdown: kramdown | ||
plugins: | ||
- jekyll-feed | ||
|
@@ -102,30 +100,30 @@ pagination: | |
# Set to 'true' to enable pagination debugging. This can be enabled in the site config or only for individual pagination pages | ||
debug: false | ||
# The default document collection to paginate if nothing is specified ('posts' is default) | ||
collection: 'posts' | ||
collection: "posts" | ||
# How many objects per paginated page, used to be `paginate` (default: 0, means all) | ||
per_page: 3 | ||
# The permalink structure for the paginated pages (this can be any level deep) | ||
permalink: '/page/:num/' # Pages are index.html inside this folder (default) | ||
permalink: "/page/:num/" # Pages are index.html inside this folder (default) | ||
#permalink: '/page/:num.html' # Pages are simple html files | ||
#permalink: '/page/:num' # Pages are html files, linked jekyll extensionless permalink style. | ||
# Optional the title format for the paginated pages (supports :title for original page title, :num for pagination page number, :max for total number of pages) | ||
title: ':title - page :num' | ||
title: ":title - page :num" | ||
# Limit how many pagenated pages to create (default: 0, means all) | ||
limit: 0 | ||
# Optional, defines the field that the posts should be sorted on (omit to default to 'date') | ||
sort_field: 'date' | ||
sort_field: "date" | ||
# Optional, sorts the posts in reverse order (omit to default decending or sort_reverse: true) | ||
sort_reverse: true | ||
# Optional, the default category to use, omit or just leave this as 'posts' to get a backwards-compatible behavior (all posts) | ||
category: 'posts' | ||
category: "posts" | ||
# Optional, the default tag to use, omit to disable | ||
tag: '' | ||
tag: "" | ||
# Optional, the default locale to use, omit to disable (depends on a field 'locale' to be specified in the posts, | ||
# in reality this can be any value, suggested are the Microsoft locale-codes (e.g. en_US, en_GB) or simply the ISO-639 language code ) | ||
locale: '' | ||
# Optional,omit or set both before and after to zero to disable. | ||
# Controls how the pagination trail for the paginated pages look like. | ||
locale: "" | ||
# Optional,omit or set both before and after to zero to disable. | ||
# Controls how the pagination trail for the paginated pages look like. | ||
trail: | ||
before: 2 | ||
after: 2 | ||
|
@@ -134,9 +132,8 @@ pagination: | |
extension: html | ||
# Optional, the default name of the index file for generated pages (e.g. 'index.html') | ||
# Without file extension | ||
indexpage: 'index.html' | ||
indexpage: "index.html" | ||
|
||
|
||
exclude: | ||
- Gemfile | ||
- Gemfile.lock | ||
|
@@ -150,3 +147,12 @@ exclude: | |
- package-lock.json | ||
- README.md | ||
- src | ||
- CONTRIBUTING.md | ||
- LICENSE.md | ||
- assets | ||
|
||
assets: | ||
sources: | ||
- node_modules/uswds/dist/img | ||
- node_modules/uswds/dist/js | ||
- node_modules/uswds/dist/scss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,52 @@ | ||
{% comment %} | ||
{% comment %} | ||
This appears at the top of the page letting the user know it's an official government website | ||
{% endcomment %} | ||
|
||
{% include meta.html %} | ||
<body class="page-landing-page layout-demo "> | ||
<div class="page-landing-page layout-demo "> | ||
<a class="usa-skipnav" href="#main-content">Skip to main content</a> | ||
<div class="usa-banner"> | ||
<div class="usa-accordion"> | ||
<header class="usa-banner__header"> | ||
<div class="usa-banner__inner"> | ||
<div class="grid-col-auto"> | ||
<img class="usa-banner__header-flag" src="{{site.baseurl}}/assets/uswds/img/us_flag_small.png" alt="U.S. flag"> | ||
{% asset us_flag_small.png class="usa-banner__header-flag" alt="U.S. flag" %} | ||
</div> | ||
<div class="grid-col-fill tablet:grid-col-auto"> | ||
<p class="usa-banner__header-text">An official website of the United States government</p> | ||
<p class="usa-banner__header-action" aria-hidden="true">Here’s how you know</p> | ||
</div> | ||
<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 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> | ||
</header> | ||
<div class="usa-banner__content usa-accordion__content" id="gov-banner"> | ||
<div class="grid-row grid-gap-lg"> | ||
<div class="usa-banner__guidance tablet:grid-col-6"> | ||
<img class="usa-banner__icon usa-media-block__img" src="{{site.baseurl}}/assets/uswds/img/icon-dot-gov.svg" alt="Dot gov"> | ||
{% asset icon-dot-gov.svg class="usa-banner__icon usa-media-block__img" alt="Dot gov" %} | ||
<div class="usa-media-block__body"> | ||
<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. | ||
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure | ||
you’re on a federal government site. | ||
</p> | ||
</div> | ||
</div> | ||
<div class="usa-banner__guidance tablet:grid-col-6"> | ||
<img class="usa-banner__icon usa-media-block__img" src="{{site.baseurl}}/assets/uswds/img/icon-https.svg" alt="Https"> | ||
{% asset icon-https.svg class="usa-banner__icon usa-media-block__img" alt="Https" %} | ||
<div class="usa-media-block__body"> | ||
<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. | ||
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> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="usa-overlay"></div> | ||
<div class="usa-overlay"></div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.