A starting point for rapid web prototyping using a hosted version of the U.S. Web Design System
This template is set up with USWDS core CSS and JS files from CDNJS.
Or try it out first on CodePen.
Use this template
button on the Code
tab.Settings
tab and scroll down to the GitHub Pages
section.Source
to main
and press Save
.You'll see a URL show up, but the site takes a few minutes before it's actually live. In the meantime, try creating a page.
Code
tab.Add File
button and select Create new file
.first-page.md
. (Note the lack of spaces and the inclusion of the .md extension.)# First page
This is my first page.
Commit new file
.Environments
link. (It may be in the right column.)View deployment
button. (You should see the default homepage load.)first-page.html
. (The full address will be something like this: https://pglevy.github.io/uswds-boilerplate/first-page.html
)You should see the new page you created.
Now that you know how to create pages, here are some other things you can do:
index.md
(the homepage) with your own content.To run the site locally, you'll need to install Jekyll, which requires a few steps. See the official installation instructions.
This project was created primarly using the GitHub Pages gem for Jekyll and some inspiration from HTML5 Boilerplate. It is licensed under The Unlicense, which allows everything and promises nothing. 😎