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 12:44:09 +0300
committerCurtis Timson <curt@live.co.uk>2018-02-24 12:44:09 +0300
commit4e038cbae1f830b27fb1280a2d50f4482f7ab2f1 (patch)
treedd03ca187dfb058cb3ab65dcfd4171aaa65a7fbf /exampleSite
parent1188bc0069873885dd32e0c5f9e3270cbdaa535c (diff)
:sparkles: Move footer content to data files
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config-prod.toml16
-rw-r--r--exampleSite/config.toml16
-rw-r--r--exampleSite/data/footer/content.yaml15
3 files changed, 15 insertions, 32 deletions
diff --git a/exampleSite/config-prod.toml b/exampleSite/config-prod.toml
index 112d17c..dce9e3b 100644
--- a/exampleSite/config-prod.toml
+++ b/exampleSite/config-prod.toml
@@ -7,22 +7,6 @@ theme = "../.."
subtitle = "Howdy. This is Dopetrope."
subtitleline2 = "A responsive template by HTML5 UP"
-[params.footer]
- title1 = "Blandit nisl adipiscing"
-
- title2 = "What's this all about?"
- imagelink2 = "#"
- imageurl2 = "images/pic10.jpg"
- description2 = "This is Dopetrope a free, fully responsive HTML5 site template by AJ for HTML5 UP It's released for free under the Creative Commons Attribution license so feel free to use it for any personal or commercial project – just don't forget to credit us!"
- buttonlink2 = "#"
- buttontext2 = "Find out more"
-
- title3 = "Tempus consequat"
-
- title4 = "Ipsum et phasellus"
-
- title5 = "Vitae tempor lorem"
-
[params.portfolio]
title = "My Portfolio"
foldername = "portfolio"
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 83bec74..ea71d5c 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -7,22 +7,6 @@ theme = "../.."
subtitle = "Howdy. This is Dopetrope."
subtitleline2 = "A responsive template by HTML5 UP"
-[params.footer]
- title1 = "Blandit nisl adipiscing"
-
- title2 = "What's this all about?"
- imagelink2 = "#"
- imageurl2 = "images/pic10.jpg"
- description2 = "This is Dopetrope a free, fully responsive HTML5 site template by AJ for HTML5 UP It's released for free under the Creative Commons Attribution license so feel free to use it for any personal or commercial project – just don't forget to credit us!"
- buttonlink2 = "#"
- buttontext2 = "Find out more"
-
- title3 = "Tempus consequat"
-
- title4 = "Ipsum et phasellus"
-
- title5 = "Vitae tempor lorem"
-
[params.portfolio]
title = "My Portfolio"
foldername = "portfolio"
diff --git a/exampleSite/data/footer/content.yaml b/exampleSite/data/footer/content.yaml
new file mode 100644
index 0000000..7773ea9
--- /dev/null
+++ b/exampleSite/data/footer/content.yaml
@@ -0,0 +1,15 @@
+sections:
+- title: 'Blandit nisl adipiscing'
+
+- title: "What's this all about?"
+ imagelink: '#'
+ imageurl: "images/pic10.jpg"
+ description: "This is Dopetrope a free, fully responsive HTML5 site template by AJ for HTML5 UP It's released for free under the Creative Commons Attribution license so feel free to use it for any personal or commercial project – just don't forget to credit us!"
+ buttonlink: "#"
+ buttontext: "Find out more"
+
+- title: 'Tempus consequat'
+
+- title: 'Ipsum et phasellus'
+
+- title: 'Vitae tempor lorem'