From 6315d0ab8f4a7ded53342d2f97d47305901bbdb8 Mon Sep 17 00:00:00 2001 From: Lee Date: Tue, 9 Jan 2018 00:28:39 +0800 Subject: Initial commit --- layouts/partials/header.html | 56 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 layouts/partials/header.html (limited to 'layouts/partials/header.html') diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..3c96282 --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,56 @@ + + + + + + + + + + {{- if not .IsHome }} + {{- if eq .Kind "page" }}{{ .Title }} + {{- else if eq .Data.Singular "tag" }}{{ .Data.Term }} + {{- else }}Posts + {{- end }} - {{ end }} + {{- .Site.Title -}} + + + {{- if eq .Kind "page" }} + + + {{ else }} + + + {{ end -}} + + + + + + + + + + + + + +
+ {{ if .IsHome }} +

🍱{{ .Site.Title }}

+ {{ else }} +

🍱{{ .Site.Title }}

+ {{ end }} + + +
+
\ No newline at end of file -- cgit v1.2.3