jekyll-theme-yat icon indicating copy to clipboard operation
jekyll-theme-yat copied to clipboard

How do I add navigation bar on top right?

Open mashsaxena opened this issue 5 years ago • 11 comments

I have tried everything to add navbar in the site but it won't show up

mashsaxena avatar Oct 03 '20 12:10 mashsaxena

Hi @mashsaxena

Could you provide the details about your site? I really want to help you settle your issues.

Thanks and regards.

jeffreytse avatar Oct 03 '20 13:10 jeffreytse

Hello, I have actually forked the theme now so it is showing me the desired results. However, I need help in changing the names of the categories. It shows the following:

Example

Jekyll

junk

Markdown

etc.. I'd like to know how I can make the changes. Thank you in advance.

mashsaxena avatar Oct 03 '20 17:10 mashsaxena

Hi @mashsaxena

The the names of the categories are auto generated by the meta data of your posts. Such as below:

---
layout: post
title: Test markdown
subtitle: Each post also has a subtitle
categories: markdown
tags: [test]
---

You can write regular [markdown](http://markdowntutorial.com/) here and Jekyll will automatically convert it to a nice webpage.  I strongly encourage you to [take 5 minutes to learn how to write in markdown](http://markdowntutorial.com/) - it'll teach you how to transform regular text into bold/italics/headings/tables/etc.  
...

Thanks and regards.

jeffreytse avatar Oct 03 '20 18:10 jeffreytse

I can add navigation bar if you want

Shubham56-droid avatar May 02 '21 16:05 Shubham56-droid

Hi @Shubham56-droid

Could you provide the details about the navigation bar?

Thanks and regards

jeffreytse avatar May 04 '21 06:05 jeffreytse

Hello, While searching, I. saw your blog. I really want to decorate it like that. I want to change the navigation order at the top like you.

Originally -> ABOUT ARCHIVES CATEGORIES HOME TAGS you changed -> HOME ARCHIVES CATEGORIES TAGS ABOUT

How did you do it? And I want to change their names. Also I want to add something new.

Is everything I want possible?

Thanks and regards

YuJinSong412 avatar Nov 08 '21 07:11 YuJinSong412

Hi @YuJinSong412 @mashsaxena

You can configure your head navigation bar via the option header_pages in the _config.yml file.

Thanks and Regards

jeffreytse avatar Nov 08 '21 11:11 jeffreytse

Hello, i want to change the head navigation bar. Some of the header_pages should be a "dropdown" button. E.g. headerpages as dropdown with related subpages

header_pages:

  • index.html
    • about.html
    • software.html
    • hardware.html
  • publications.html
  • more.html
    • archives.html
    • categories.html
    • tags.html

METEORITENMAX avatar Jul 27 '22 11:07 METEORITENMAX

Hello, I want to rename and delete the navbar, but it doesn't change. I changed it as follows using _config.yml, but it does not work. is this correct? Help.

# If you want to link only specific pages in your header, uncomment
# this and add the path to the pages in order as they should show up
header_pages:
  - index.html
  - about.md
  - study.html

hyojiness avatar Oct 05 '22 12:10 hyojiness

Hi @hyojiness

You can try to use below code snippet:

header_pages: []

Thanks & Regards

jeffreytse avatar Oct 05 '22 14:10 jeffreytse

Hello, I want to rename and delete the navbar, but it doesn't change. I changed it as follows using _config.yml, but it does not work. is this correct? Help.

# If you want to link only specific pages in your header, uncomment
# this and add the path to the pages in order as they should show up
header_pages:
  - index.html
  - about.md => about.html
  - study.html

you hace to replace "about.md" to "about.html"

herediiaa avatar Dec 29 '22 17:12 herediiaa