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:08:37 +0300
committerCurtis Timson <curt@live.co.uk>2018-02-24 13:08:37 +0300
commitcbcfca8e1058619ad90b1147b54eca154bac656c (patch)
tree3dea9b740e6905015d7d14a0339ca85ec4c40758 /exampleSite
parente49918d911771db616f49952959d105e232f75b8 (diff)
:sparkles: Move sidebar content to data
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config-prod.toml20
-rw-r--r--exampleSite/config.toml21
-rw-r--r--exampleSite/data/footer/contactinfo.yaml4
-rw-r--r--exampleSite/data/sidebar/content.yaml14
4 files changed, 20 insertions, 39 deletions
diff --git a/exampleSite/config-prod.toml b/exampleSite/config-prod.toml
index 2eb29b0..fcf2151 100644
--- a/exampleSite/config-prod.toml
+++ b/exampleSite/config-prod.toml
@@ -18,24 +18,6 @@ theme = "../.."
postsperpage = "6"
foldername = "blog"
-[params.contact]
- email = "someone@untitled.tld"
- phone = "(800) 000-0000"
-
[params.settings]
googleanalytics = "UA-113904582-2"
- disqus = "hugo-dopetrope"
-
-[params.sidebar]
- position = "right"
-
- image1 = "images/pic09.jpg"
- title1 = "Sed etiam lorem nulla"
- description1 = "Lorem ipsum dolor sit amet sit veroeros sed amet blandit consequat veroeros lorem blandit adipiscing et feugiat phasellus tempus dolore ipsum lorem dolore."
- buttonlink1 = "#"
- buttontext1 = "Magna sed taciti"
-
- title2 = "Feugiat consequat"
- description2 = "Veroeros sed amet blandit consequat veroeros lorem blandit adipiscing et feugiat sed lorem consequat feugiat lorem dolore."
- buttonlink2 = "#"
- buttontext2 = "Ipsum consequat" \ No newline at end of file
+ disqus = "hugo-dopetrope" \ No newline at end of file
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index de311e5..8da763e 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -18,25 +18,6 @@ theme = "../.."
postsperpage = "6"
foldername = "blog"
-[params.contact]
- email = "someone@untitled.tld"
- phone = "(800) 000-0000"
-
[params.settings]
googleanalytics = "UA-113904582-1"
- disqus = "hugo-dopetrope"
-
-[params.sidebar]
- position = "right"
-
- image1 = "images/pic09.jpg"
- imagelink1 = "#"
- title1 = "Sed etiam lorem nulla"
- description1 = "Lorem ipsum dolor sit amet sit veroeros sed amet blandit consequat veroeros lorem blandit adipiscing et feugiat phasellus tempus dolore ipsum lorem dolore."
- buttonlink1 = "#"
- buttontext1 = "Magna sed taciti"
-
- title2 = "Feugiat consequat"
- description2 = "Veroeros sed amet blandit consequat veroeros lorem blandit adipiscing et feugiat sed lorem consequat feugiat lorem dolore."
- buttonlink2 = "#"
- buttontext2 = "Ipsum consequat" \ No newline at end of file
+ disqus = "hugo-dopetrope" \ No newline at end of file
diff --git a/exampleSite/data/footer/contactinfo.yaml b/exampleSite/data/footer/contactinfo.yaml
index 4d3d11b..0414d9d 100644
--- a/exampleSite/data/footer/contactinfo.yaml
+++ b/exampleSite/data/footer/contactinfo.yaml
@@ -4,3 +4,7 @@ addresslines:
- line: '1234 Somewhere Road Suite'
- line: 'Nashville, TN 00000-0000'
+
+email: 'someone@untitled.tld'
+
+phone: '(800) 000-0000' \ No newline at end of file
diff --git a/exampleSite/data/sidebar/content.yaml b/exampleSite/data/sidebar/content.yaml
new file mode 100644
index 0000000..8056f9f
--- /dev/null
+++ b/exampleSite/data/sidebar/content.yaml
@@ -0,0 +1,14 @@
+position: "right"
+
+sections:
+- image: "images/pic09.jpg"
+ imagelink: "#"
+ title: "Sed etiam lorem nulla"
+ description: "Lorem ipsum dolor sit amet sit veroeros sed amet blandit consequat veroeros lorem blandit adipiscing et feugiat phasellus tempus dolore ipsum lorem dolore."
+ buttonlink: "#"
+ buttontext: "Magna sed taciti"
+
+- title: "Feugiat consequat"
+ description: "Veroeros sed amet blandit consequat veroeros lorem blandit adipiscing et feugiat sed lorem consequat feugiat lorem dolore."
+ buttonlink: "#"
+ buttontext: "Ipsum consequat" \ No newline at end of file