Copy this template to your own repos and then deploy to GH Pages
Copy this template to your own repos.
Configure the site by updating _config.yml file:
url to reflect your own username e.g. https://MyUsername.github.io.baseurl to be the name of your repo e.g. /jekyll-gh-actions-quickstart or /my-repo. If not using a subpath, then use "".Follow the Deploy steps of this repo’s docs to set up the GH Pages site.
title and description._config.yml and Gemfile.Gemfile.Delete the template’s Markdown pages.
Add your own Markdown pages.
This template is configured to give all pages the layout of page by default. That is defined in the theme as page.html, which in turn uses default.html.
See the Just the Docs docs for instructions on using the theme and extending such as with CSS. Or look-up the docs for whatever theme you choose.
The Just The Docs theme will find files automatically and add them to the navbar for you. So if you are happy with alphabetical menu, then so you don’t have to worry about configuring a navbar in the config.
You can also set a custom ordering with a field.
The homepage is set first already because nav_order is set to 1.
---
title: Home
layout: default
nav_order: 1
---
A second page can be set to 2.
For more details and nesting pages in directories, see Navigation structure in the theme’s docs.