aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorOlivier Roques <olivier@oroques.dev>2020-08-02 20:39:01 +0200
committerOlivier Roques <olivier@oroques.dev>2020-08-02 20:39:01 +0200
commit74058f0cae8eff8b83d02303671c0532bd492ea3 (patch)
tree8d70b08517241bb5477a456fa3794e4e92da7aa4 /layouts/partials
parent1263088ed542e0745db78d9c969fc1dbdece58e2 (diff)
General update
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/header.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 195573e..61fe360 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -2,7 +2,7 @@
<nav class="navbar navbar-expand-sm flex-column flex-sm-row p-0">
<a class="navbar-brand mr-sm-auto" href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
<div class="navbar-nav flex-row">
- {{ with .Site.Menus.navbar }}
+ {{ with .Site.Menus.main }}
{{ $navbar_len := len . }}
{{ range $i, $nav_item := . }}
<a class="nav-item nav-link" href="{{ $nav_item.URL | relURL }}">{{ $nav_item.Name }}</a>