From fba5befbf5b9cb9b9026b8f6af7f6c5444e1a8f5 Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Thu, 4 Oct 2018 15:15:57 +0300 Subject: Squashed 'website/themes/base16/' content from commit 7b2da73 git-subtree-dir: website/themes/base16 git-subtree-split: 7b2da739c813cd680e44606d2150e3c66a6794e6 --- layouts/partials/header.html | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 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..715808c --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,34 @@ + + + + + +{{- with $.Param "keywords" }} + +{{- end }} +{{- with $.Param "author" }} + +{{- end }} +{{ .Hugo.Generator }} + + + + +{{ $isHomePage := eq .Title .Site.Title }}{{ .Title }}{{ if eq $isHomePage false }} - {{ .Site.Title }}{{ end }} + + + +
+
+ [{{ .Site.Title }}] + # _ +
+ {{ range $i, $page := (where .Site.Pages "Section" "pages") }} + {{ if not (eq $i 0) }}|{{ end }} + {{ $page.Title }} + {{ end }} +
+
+
+ +
-- cgit v1.3.1-26-gb76a