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.
Use asset pipeline and cross platform builds (#42)
Use asset pipeline and cross platform builds
- Loading branch information
Showing
28 changed files
with
429 additions
and
318 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,7 +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
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 | ||
|
@@ -97,91 +95,45 @@ plugins: | |
# Site configuration for the Jekyll 3 Pagination Gem | ||
# The values here represent the defaults if nothing is set | ||
pagination: | ||
|
||
# Site-wide kill switch, disabled here it doesn't run at all | ||
enabled: true | ||
|
||
# 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 | ||
|
||
# Optional, the default file extension for generated pages (e.g html, json, xml). | ||
# Internally this is set to html by default | ||
extension: html | ||
|
||
# Optional, the default name of the index file for generated pages (e.g. 'index.html') | ||
# Without file extension | ||
indexpage: 'index.html' | ||
|
||
|
||
|
||
# # Configuration for jekyll_pages_api_search plugin gem. | ||
# jekyll_pages_api_search: | ||
# # Uncomment this to speed up site generation while developing. | ||
# #skip_index: true | ||
# | ||
# # Each member of `index_fields` should correspond to a field generated by | ||
# # the jekyll_pages_api. It can hold an optional `boost` member as a signal | ||
# # to Lunr.js to weight the field more highly (default is 1). | ||
# index_fields: | ||
# title: | ||
# boost: 10 | ||
# tags: | ||
# boost: 10 | ||
# url: | ||
# boost: 5 | ||
# body: | ||
# | ||
# # If defined and browserify and uglifyify are installed, the plugin will | ||
# # generate a bundle to define the renderJekyllPagesApiSearchResults | ||
# # function. | ||
# browserify: | ||
# source: js/my-search.js | ||
# target: js/my-search-bundle.js | ||
# | ||
|
||
indexpage: "index.html" | ||
|
||
# Exclude from processing. | ||
# The following items will not be processed, by default. Create a custom list | ||
# to override the default setting. | ||
exclude: | ||
- Gemfile | ||
- Gemfile.lock | ||
|
@@ -195,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 |
Oops, something went wrong.