diff options
author | Zack Scholl <zack.scholl@gmail.com> | 2017-11-03 12:46:05 +0300 |
---|---|---|
committer | Zack Scholl <zack.scholl@gmail.com> | 2017-11-03 12:46:05 +0300 |
commit | 7a49b5a2cac87484beaa50bd99ac3e42e71a6a53 (patch) | |
tree | 0abd6a39e1f908fa6436eba958ad16ba74d8852d | |
parent | b1aa0d5008435e96518979812560777c32021fb6 (diff) |
Updat
-rwxr-xr-x | layouts/partials/header.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index edbb00f..da4a5f1 100755 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -29,10 +29,10 @@ <header> <a href="/">/posts</a> -{{ range .Site.RegularPages }} - {{ if or (eq .Type "page") (eq .Type "about") }} - · <a href="{{ .RelPermalink }}" style="color:black;">/{{ .Title | lower }}</a> - {{ end }} +{{ range $.Site.Params.navigation }} +{{ with $.Site.GetPage "page" . }} + · <a href="{{ lower .Permalink }}" style="color:black;">/{{ .Title }}</a> +{{ end }} {{ end }} {{ if .Draft }} |