From 51704a46752b756b819627c331f089aed1138f1d Mon Sep 17 00:00:00 2001 From: Curtis Timson Date: Sat, 24 Feb 2018 10:12:40 +0000 Subject: :sparkles: :wrench: Move banner text to data yaml files --- exampleSite/config-prod.toml | 4 ---- exampleSite/config.toml | 4 ---- exampleSite/data/home/banner.yaml | 2 ++ layouts/partials/banner.html | 6 ++++-- 4 files changed, 6 insertions(+), 10 deletions(-) create mode 100644 exampleSite/data/home/banner.yaml diff --git a/exampleSite/config-prod.toml b/exampleSite/config-prod.toml index fcf2151..ed2587a 100644 --- a/exampleSite/config-prod.toml +++ b/exampleSite/config-prod.toml @@ -3,10 +3,6 @@ title = "Dopetrope" baseURL = "https://curttimson.github.io/hugo-theme-dopetrope/" theme = "../.." -[params] - subtitle = "Howdy. This is Dopetrope." - subtitleline2 = "A responsive template by HTML5 UP" - [params.portfolio] title = "My Portfolio" foldername = "portfolio" diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 8da763e..7e7dc5b 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -3,10 +3,6 @@ title = "Dopetrope" baseURL = "http://localhost:1313/" theme = "../.." -[params] - subtitle = "Howdy. This is Dopetrope." - subtitleline2 = "A responsive template by HTML5 UP" - [params.portfolio] title = "My Portfolio" foldername = "portfolio" diff --git a/exampleSite/data/home/banner.yaml b/exampleSite/data/home/banner.yaml new file mode 100644 index 0000000..5cbd56f --- /dev/null +++ b/exampleSite/data/home/banner.yaml @@ -0,0 +1,2 @@ +line1: 'Howdy. This is Dopetrope.' +line2: 'A responsive template by HTML5 UP' \ No newline at end of file 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 @@ \ No newline at end of file -- cgit v1.2.3