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

github.com/curttimson/hugo-theme-dopetrope.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCurtis Timson <curt@live.co.uk>2018-02-24 13:12:40 +0300
committerCurtis Timson <curt@live.co.uk>2018-02-24 13:12:40 +0300
commit51704a46752b756b819627c331f089aed1138f1d (patch)
treefadc3928cf89ae9f31fd7d02e37f983e89235426 /layouts
parentcbcfca8e1058619ad90b1147b54eca154bac656c (diff)
:sparkles: :wrench: Move banner text to data yaml files
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/banner.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/layouts/partials/banner.html b/layouts/partials/banner.html
index c4725f1..13ed1d5 100644
--- a/layouts/partials/banner.html
+++ b/layouts/partials/banner.html
@@ -1,7 +1,9 @@
<!-- Banner -->
<section id="banner">
<header>
- <h2>{{ .Site.Params.Subtitle }}</h2>
- <p>{{ .Site.Params.Subtitleline2 }}</p>
+ {{ with .Site.Data.home.banner }}
+ <h2>{{ .line1 }}</h2>
+ <p>{{ .line2 }}</p>
+ {{ end }}
</header>
</section> \ No newline at end of file