From fc76aca492277cb150babb9a4a3f40d35ecab0a9 Mon Sep 17 00:00:00 2001 From: "Eamon Burns (Laptop WSL)" Date: Mon, 6 May 2024 12:24:12 -0700 Subject: [PATCH] Add navigation setup to README --- README.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a558a34..6455c7f 100644 --- a/README.md +++ b/README.md @@ -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`. - -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: @@ -85,6 +100,7 @@ matter. Example: see how the files are set up.