This is an experimental repository by the 18F Guides and Methods team.
- It's on cloud.gov Pages
- Flexible layout templates
- Dynamic navigation
- Section specific themes
- Page bundle archetypes
- Improved performance
- Sample governance workflow
- Sample content management workflow
- Multilingual support using USWDS 3 Patterns
Please follow the instructions for Installing Hugo locally.
- Clone
https://github.com/18F/guides-and-methods-hugo.git
cd
into new directory.- Start the built-in live server via
hugo server
. - Visit default URL: localhost:1313
To clone the wiki locally as a root subdirectory:
git clone https://github.com/18F/guides-and-methods-hugo.wiki.git wiki
For a detailed technical overview, visit our Wiki!
- Add single files with
hugo new <SECTIONNAME>/<FILENAME>.<FORMAT>
. - Add a new guide (aka section) with
hugo new --kind section-bundle <SECTIONNAME>
In this GitHub repository, find content organized by Section under content/en
, or use the GitHub search feature to find the file. All content files end in .md for Markdown. To edit a page,
- click on the edit pencil.
- Make content changes. The content supports plain text and Commonmark flavored Markdown.
- Attach files by dragging and dropping, selecting or pasting them.
- Save your changes by clicking the Commit changes button. This will create a new branch for this commit to start a pull request.
- The
guides-admins
group (hey, that's us!) is set as the default reviewers. - Preview your changes using the cloud.gov Pages preview link.
Keep watching this repo for Content Management System tests. Let us know if you'd like to participate!
Hopefully you already have pa11y-ci running globally! Hugo generates a default sitemap for each language out of the box. Let pa11y-ci check all the URLs in the sitemap with the following command:
pa11y-ci -s http://localhost:1313/en/sitemap.xml --sitemap-find "//localhost:1313" --sitemap-replace "http://localhost:1313/"
Check out our ADR directory (#3 (comment))) for a history of architectural decisions!
Open a GitHub issue and assign to the @guides-admins
group.