Website Summary Files Commits Branches @commit @diff @stats
path: root / layouts / partials / header.html
diff options
context:
space:
mode:
Commitfba5befbf5b9cb9b9026b8f6af7f6c5444e1a8f5 (patch)
Author
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-10-04 15:15:57 +0300
Committer
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-10-04 15:15:57 +0300
Filesf25c11016c9ec94f27f928ca00fe0173b71dda59 /layouts/partials/header.html
IPL-fba5befbf5b9cb9b9026b8f6af7f6c5444e1a8f5.tar
IPL-fba5befbf5b9cb9b9026b8f6af7f6c5444e1a8f5.tar.gz
IPL-fba5befbf5b9cb9b9026b8f6af7f6c5444e1a8f5.zip
Squashed 'website/themes/base16/' content from commit 7b2da73
git-subtree-dir: website/themes/base16 git-subtree-split: 7b2da739c813cd680e44606d2150e3c66a6794e6
1 files changed, 34 insertions, 0 deletions
-rw-r--r--layouts/partials/header.html34
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 @@
+<!DOCTYPE html>
+<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
+<head>
+<meta charset="utf-8">
+<meta name="description" content="{{ if eq .Description "" }}{{ .Site.Params.description }}{{ else }}{{ .Description }}{{ end }}">
+{{- with $.Param "keywords" }}
+<meta name="keywords" content="{{ delimit . "," }}">
+{{- end }}
+{{- with $.Param "author" }}
+<meta name="author" content="{{ . }}">
+{{- end }}
+{{ .Hugo.Generator }}
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<link rel="stylesheet" href="{{ "css/style.css" | relURL }}" type="text/css">
+<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700" type="text/css">
+<link rel="alternate" href="{{ "index.xml" | relURL }}" type="application/rss+xml" title="{{ .Site.Title }}">
+<title>{{ $isHomePage := eq .Title .Site.Title }}{{ .Title }}{{ if eq $isHomePage false }} - {{ .Site.Title }}{{ end }}</title>
+</head>
+<body>
+
+<header>
+ <div class="container clearfix">
+ <a class="path" href="{{ .Site.BaseURL }}">[{{ .Site.Title }}]</a>
+ <span class="caret"># _</span>
+ <div class="right">
+ {{ range $i, $page := (where .Site.Pages "Section" "pages") }}
+ {{ if not (eq $i 0) }}|{{ end }}
+ <a class="path" href="{{ $page.RelPermalink }}">{{ $page.Title }}</a>
+ {{ end }}
+ </div>
+ </div>
+</header>
+
+<div class="container">