diff options
author | Curtis Timson <curt@live.co.uk> | 2018-02-24 13:12:40 +0300 |
---|---|---|
committer | Curtis Timson <curt@live.co.uk> | 2018-02-24 13:12:40 +0300 |
commit | 51704a46752b756b819627c331f089aed1138f1d (patch) | |
tree | fadc3928cf89ae9f31fd7d02e37f983e89235426 /layouts | |
parent | cbcfca8e1058619ad90b1147b54eca154bac656c (diff) |
:sparkles: :wrench: Move banner text to data yaml files
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/banner.html | 6 |
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 |