diff options
Diffstat (limited to 'layouts/partials/header.html')
-rwxr-xr-x | layouts/partials/header.html | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index c3635a1..550df1e 100755 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -37,4 +37,12 @@ <body> {{ if $.Site.Params.analytics }} <img src="https://analytics.schollz.com/1.png?page={{ .Permalink }}" width=1px height=1px style="float:right;"> -{{ end }}
\ No newline at end of file +{{ end }} + +<header> + <a href="/" style="color:#CCCCCC;"><strong>Posts</strong></a>{{ range $i, $e:= $.Site.Params.navigation }}{{ if eq $i -1}}{{else}} ยท {{end}}{{ with $.Site.GetPage "page" . }}<a href="{{ lower .Permalink }}" style="color:#CCCCCC;"><strong>{{ title .Title }}</strong></a>{{ end }}{{ end }} + +{{ if .Draft }} +DRAFT +{{ end }} +</header>
\ No newline at end of file |