# How to create a simple, hard-coded navigation bar in Jekyll?

**URL:** <https://talk.jekyllrb.com/t/how-to-create-a-simple-hard-coded-navigation-bar-in-jekyll/1287>\
**Category:** Help\
**Created:** [December 23, 2017, 8:09pm UTC](https://talk.jekyllrb.com/t/how-to-create-a-simple-hard-coded-navigation-bar-in-jekyll/1287 "2017-12-23T20:09:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fdrollig](https://avatars.discourse-cdn.com/v4/letter/f/9d8465/32.png) [@fdrollig](https://talk.jekyllrb.com/u/fdrollig)\
**Post date:** [December 23, 2017, 8:09pm UTC](https://talk.jekyllrb.com/t/how-to-create-a-simple-hard-coded-navigation-bar-in-jekyll/1287/1 "2017-12-23T20:09:27Z")

</div>

Hello!

I’m generating a Jekyll site with a lot of pages. By default, all these pages are included in the menu.

 ![2017_12_23_stackOverflowQuestion](https://canada1.discourse-cdn.com/flex030/uploads/jekyllrb/original/1X/7a29232e791acd4faed523097fd59154dfc643f1.png)

I don’t want the majority of these pages to appear in the navigation bar. I want only two of them to be there: a) `/rumerica/` and b) `/about/`.

I tried to use the approach from this answer and put the following file into `_data/menu.yaml` file:

```
- text: Home
  url: /
- text: Rumerica
  url: /rumerica/
- text: About
  url: /about/

```

But nothing changed. How can I make Jekyll render only two (static and hard-coded) menu items without using any plugins?

Notes: You can find the source code of my site (without the new changes) [here](https://github.com/fdrollig/fdrollig.github.io/tree/master).

Thanks in advance

Franz Drollig

P. S.: You can earn StackOverflow karma by answering this question [here](https://stackoverflow.com/questions/47955499/how-to-create-a-simple-hard-coded-navigation-bar-in-jekyll).
