Skip to content

Commit

Permalink
Navbar: Fix active class not applied on Blog (#238)
Browse files Browse the repository at this point in the history
The "Blog" link on Navbar was not getting the active class due to a
misconfiguration in "config.yaml".
This PR fixes that.

Before:

![image](https://github.com/notaryproject/notaryproject.dev/assets/34372791/059bd292-db98-4d1b-92b0-10e8c6d4171c)

Now:

![image](https://github.com/notaryproject/notaryproject.dev/assets/34372791/c37843a6-e7d2-4daf-b26b-00483c64c99c)

Signed-off-by: Aryan Kaushik <[email protected]>
  • Loading branch information
Aryan20 authored Dec 20, 2023
1 parent 10006fb commit 1f1c52b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,6 @@ outputs:
# Site menu (partial -- also see pages with 'menu' in front matter)
menu:
main:
- name: Blog
url: ./blog/
weight: -50
- name: Roadmap
url: https://github.com/notaryproject/roadmap
weight: -20
Expand Down
4 changes: 4 additions & 0 deletions content/en/blog/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
title: Blog
linkTitle: Blog
description: News, updates, release announcements, and more
menu:
main:
name: Blog
weight: -50
# Notes:
# - Place blog entries under a folder corresponding to the year of publication.
# - By default the permalink will be /blog/year/filename. If you'd rather have
Expand Down

0 comments on commit 1f1c52b

Please sign in to comment.