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.
- Production: www.data.gov
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
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 ---.
Add single pages to the pages/ folder and set the permalink in the front matter.
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 .
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.