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

github.com/EmielH/tale-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
new file mode 100644
index 0000000..22d6999
--- /dev/null
+++ b/layouts/partials/header.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html lang="en">
+
+ {{ partial "head.html" . }}
+
+ <body>
+ <nav class="nav">
+ <div class="nav-container">
+ <a href="{{ .Site.BaseURL }}/">
+ <h2 class="nav-title">{{ .Site.Title }}</h2>
+ </a>
+ <ul>
+ <li><a href="{{ .Site.BaseURL }}about">About</a></li>
+ <li><a href="{{ .Site.BaseURL }}">Posts</a></li>
+ </ul>
+ </div>
+ </nav> \ No newline at end of file