Skip to content

Commit

Permalink
Add navigation setup to README
Browse files Browse the repository at this point in the history
  • Loading branch information
Agent-E11 committed May 6, 2024
1 parent e8a8823 commit fc76aca
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,23 @@ included. Follow the instructions below for complete setup.
3. Install the theme by running `bundle install` inside your site directory.
4. Replace the current theme in your `_config.yml` file with
`theme: jekyll-theme-cleaner-blog`.
<!-- TODO: Describe adding `navigation` to `_config.yml` -->
5. Build your site: `bundle exec jekyll serve`
5. Add the following variable to your `_config.yml`:
```yaml
navigation:
- name: Home
link: /
- name: About
link: /about/
- name: Posts
link: /posts/
- name: Contact
link: /contact/
```
This describes the navbar at the top of your site. If it is not present,
there will be no links on your navbar. You can add or remove links here to
customize your navigation.
6. Build your site: `bundle exec jekyll serve`
Assuming there are no errors and the site is building properly, follow these
steps next:
Expand Down Expand Up @@ -85,6 +100,7 @@ matter. Example:
see how the files are set up.
<!-- TODO:
5. Add the form to the `contact.html` page. Add the following code to your
`contact.html` page:
Expand Down

0 comments on commit fc76aca

Please sign in to comment.