Adding a new file
- Determine where in the directory hierarchy the file should reside.
- The top of the repo is the top of the hierarchy.
- Update
_config.yml
to add the file to the menu.- Each menu entry is an object in a list of other menu entries
- The only required property is
label
, which serves as the menu display label - It is best to only use the label property. it will be converted to a file name by:
- lowercasing
- replacing spaces with
-
-
Add the file to the appropriate location with a name corresponding to the menu label, as described above.
-
The file should have the following structure:
--- --- # TITLE
-
Start or stop and restart the Jekyll server:
bundler exec jekyll serve --livereload
-
Confirm that the page is working correctly from the menu
- Now you may edit the new file