diff options
author | Alan Pearce | 2017-05-06 17:37:04 +0200 |
---|---|---|
committer | Alan Pearce | 2017-05-06 17:37:04 +0200 |
commit | df6e95df7d810d47bf767c4073ed5427d884bf30 (patch) | |
tree | a409b8f4dcf96d560b21ab68bfbc715b5b72316f | |
parent | 0929aad13a77aca85652c545cf1dbc0920334fa6 (diff) | |
download | hyde-df6e95df7d810d47bf767c4073ed5427d884bf30.tar.lz hyde-df6e95df7d810d47bf767c4073ed5427d884bf30.tar.zst hyde-df6e95df7d810d47bf767c4073ed5427d884bf30.zip |
feat: Use hugo Menus for navigation
-rw-r--r-- | layouts/partials/sidebar.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index b9b0298..d04205a 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -12,10 +12,8 @@ <nav> <ul class="sidebar-nav"> - <li><a href="/" class="u-url url" itemprop="url">Home</a> </li> - <li><a href="/post/" class="u-url url" itemprop="url">Posts</a> </li> {{ range .Site.Menus.main }} - <li><a href="{{.URL}}"> {{ .Name }} </a></li> + <li><a href="{{.URL}}" class="u-url url" itemprop="url"> {{ .Name }} </a></li> {{end}} </ul> </nav> |