Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/schollz/onetwothree.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/header.html')
-rwxr-xr-xlayouts/partials/header.html10
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}}&nbsp;&nbsp;ยท&nbsp;&nbsp;{{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