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

github.com/jimfrenette/hugo-starter.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/site-header.html')
-rwxr-xr-xlayouts/partials/site-header.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/layouts/partials/site-header.html b/layouts/partials/site-header.html
new file mode 100755
index 0000000..cdb90e5
--- /dev/null
+++ b/layouts/partials/site-header.html
@@ -0,0 +1,15 @@
+<header>
+ <div>
+ {{ partial "site-navigation.html" . }}
+ <div>
+ <h1>
+ {{ .Title | default .Site.Title }}
+ </h1>
+ {{ with .Params.description }}
+ <h2>
+ {{ . }}
+ </h2>
+ {{ end }}
+ </div>
+ </div>
+</header> \ No newline at end of file