Skip to content

Commit

Permalink
🐛 Fix: unexpected navbar menu
Browse files Browse the repository at this point in the history
ISSUES CLOSED: #291
  • Loading branch information
Molunerfinn committed Sep 30, 2020
1 parent e49a2b2 commit b9627a7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@

# Main menu navigation
menu:
Home: /
Archives: /archives
Tags: /tags
Categories: /categories
# Home: /
# Archives: /archives
# Tags: /tags
# Categories: /categories
#XXX: /xxx

# Favicon
Expand Down
7 changes: 4 additions & 3 deletions layout/includes/header.pug
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
a#site-name(href=url_for('/')) #[=config.title]
i.fa.fa-bars.toggle-menu.pull-right(aria-hidden="true")

span.pull-right.menus
each url, label in theme.menu
a.site-page(href=url)= label
if (theme.menu)
span.pull-right.menus
each url, label in theme.menu
a.site-page(href=url)= label

span.pull-right
if (theme.algolia_search.enable || theme.local_search && theme.local_search.enable)
Expand Down

0 comments on commit b9627a7

Please sign in to comment.