summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/header.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 8973521..262314a 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -20,9 +20,9 @@
</header>
<div class="container">
<div class="row">
- {{ range $section, $p := .Site.Sections }}
+ {{ range .Site.Menus.main }}
<div class="one-half column">
- <a class="button" href="/{{ $section }}/">{{ $section }}</a>
+ <a class="button" href="/{{ .URL }}/">{{ .Name }}</a>
</div>
{{ end }}
</div>