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

github.com/wlh320/hugo-theme-hulga.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.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
new file mode 100644
index 0000000..2baa402
--- /dev/null
+++ b/layouts/partials/header.html
@@ -0,0 +1,14 @@
+<section class="hero is-primary shadow-hero">
+ <div class="hero-body">
+ <div class="container has-text-centered">
+ <h1 class="title">
+ {{ .Site.Title }}
+ </h1>
+ {{ if .Site.Params.subtitle }}
+ <h2 class="subtitle">
+ {{ .Site.Params.subtitle }}
+ </h2>
+ {{ end }}
+ </div>
+ </div>
+</section>