Skip to content

GSA/datagov-11ty

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,447 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

datagov-11ty

The public-facing homepage of Data.gov (www.data.gov), built with 11ty and the U.S. Web Design System (USWDS). Hosted on cloud.gov Pages.

Getting Started

Install dependencies:

npm install

Run a local dev instance:

npm run dev

Run tests:

npm run test

This runs:

  • content: Cypress checks on the generated HTML
  • accessibility: pa11y-ci on localhost using paths from sitemap.xml
  • inclusivity: woke scans files for non-inclusive language

Adding content

Blog posts and updates

Create a new file in posts/ using the format YYYY-MM-DD-hyphenated-title.md. Each file has front matter and content sections separated by ---.

Single pages

Add single pages to the pages/ folder and set the permalink in the front matter.

Broken links

A weekly QA cron job tests for broken links. Errors are added to the 📌 Link Checker Report. Add false positives to .lycheeignore.

Run locally with lychee:

lychee --base=https://data.gov .

Public domain

This project is in the worldwide public domain. As stated in CONTRIBUTING:

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.

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.

Related resources

About

No description, website, or topics provided.

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors