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

github.com/dewittn/hugo-html5up-alpha.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNelson/Roberto <dewittn@gmail.com>2020-05-23 17:32:06 +0300
committerNelson/Roberto <dewittn@gmail.com>2020-05-23 17:32:06 +0300
commit629d387ac29b3a156de5ba57b5aa83582d8dfa4e (patch)
tree84a6326ded575480d2987ba3ec913c124493e10f
parent6d08d1109a24b1a48f84bc1d6abc539dd585eae6 (diff)
Organized the config files, and updated the changelog.md.
-rw-r--r--CHANGELOG.md5
-rw-r--r--exampleSite/config/_default/config.toml22
-rw-r--r--exampleSite/config/development/config.toml (renamed from exampleSite/config/develpoment/config.toml)15
-rw-r--r--exampleSite/config/production/config.toml61
4 files changed, 90 insertions, 13 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f23b620..bb65515 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,9 @@
# Change Log
+---
+## `1.1.0`
+### Theme Works with hugoThemes demo site
+- Created multiple config.toml files to work with different envirnoments (hugoThemes site/local development/Production)
+- Minor tweaks to the layout to support hugoBasicExample
---
## `1.0.0`
diff --git a/exampleSite/config/_default/config.toml b/exampleSite/config/_default/config.toml
index fb4246f..dfb4da6 100644
--- a/exampleSite/config/_default/config.toml
+++ b/exampleSite/config/_default/config.toml
@@ -1,5 +1,5 @@
-## This the default config file that is setup to run with the hugoBasicExample content
-## For a more detailed example of the themes capabilities look at development/config.toml
+# This the default config from which all other configurations inherit
+## For a more detailed example of the themes capabilities look at "development/config.toml"
languageCode = "en-us"
title = "Alpha by HTML5 UP"
baseURL = "https://example.com"
@@ -15,6 +15,24 @@ disqusShortname = ""
design = "Design: [HTML5 UP](http://html5up.net/)"
mainSections = ["post"]
+### Footer Social Media Links ###
+[[params.share]]
+title = "facebook"
+icon = "fa-facebook-f" # fontawesome icons https://fontawesome.com/icons?d=gallery&s=brands
+link = "https://www.facebook.com/"
+
+[[params.share]]
+title = "twitter"
+icon = "fa-twitter"
+link = "https://twitter.com/"
+
+[[params.share]]
+title = "linkedin"
+icon = "fa-linkedin"
+link = "https://www.linkedin.com"
+
+
+## Everything below this is specific to the hugoBasicExample
[menu]
[[menu.main]]
identifier = "about"
diff --git a/exampleSite/config/develpoment/config.toml b/exampleSite/config/development/config.toml
index 0a1a7ca..6ee33ac 100644
--- a/exampleSite/config/develpoment/config.toml
+++ b/exampleSite/config/development/config.toml
@@ -1,16 +1,13 @@
-# Basic settings are inherited from _default/config.toml
-baseURL = "https://example.com"
+# Settings not listed here are inherited from `_default/config.toml`
+## This is a more complete example of the themes capabilities that will load with 'hugo server'
+baseURL = "http://localhost:1313/"
[params]
- description = "Test Another fine responsive site template freebie by HTML5 UP."
- images = ["images/pic01.jpg"]
- author = "Hugo Port: [Nelson/Roberto](https://nelsonroberto.com/)"
- copyright = "© Untitled. All rights reserved."
- design = "Design: [HTML5 UP](http://html5up.net/)"
mainSections = ["blog"]
-# For Pages the .RelPermalink must match the menu .URL
-# For sections the name/directory must match the menu .Identifier
+## Everything below is spesific to the content in the local `exampleSite` directory
+### For Pages the .RelPermalink must match the menu .URL
+### For sections the name/directory must match the menu .Identifier
[menu]
[[menu.main]]
identifier = "generic"
diff --git a/exampleSite/config/production/config.toml b/exampleSite/config/production/config.toml
index 26bf4a9..6fb7650 100644
--- a/exampleSite/config/production/config.toml
+++ b/exampleSite/config/production/config.toml
@@ -1,3 +1,60 @@
# All other settings are inherited from _default/config.toml
-# This way you can run a development and production versions without rewriting the config file
-baseURL = "https://hugo-html5up-alpha.nelsonroberto.com/" \ No newline at end of file
+## This is the config file used for the live demo located at URL below
+baseURL = "https://hugo-html5up-alpha.nelsonroberto.com/"
+
+[params]
+ mainSections = ["blog"]
+
+## Everything below is spesific to the content in the local `exampleSite` directory
+### For Pages the .RelPermalink must match the menu .URL
+### For sections the name/directory must match the menu .Identifier
+[menu]
+ [[menu.main]]
+ identifier = "generic"
+ name = "Generic"
+ url = "/generic/"
+ weight = 10
+ [[menu.main]]
+ identifier = "contact"
+ name = "Contact"
+ url = "/contact/"
+ weight = 20
+ [[menu.main]]
+ identifier = "elements"
+ name = "Elements"
+ url = "/elements/"
+ weight = 30
+ [[menu.main]]
+ identifier = "blog"
+ name = "Blog"
+ url = "/blog/"
+ weight = 40
+ [[menu.main]]
+ identifier = "submenu"
+ name = "Submenu"
+ url = "#"
+ weight = 50
+ [[menu.main]]
+ parent = "submenu"
+ identifier = "one"
+ name = "Option One"
+ url = "#"
+ weight = 51
+ [[menu.main]]
+ parent = "submenu"
+ identifier = "two"
+ name = "Option Two"
+ url = "#"
+ weight = 52
+ [[menu.main]]
+ parent = "submenu"
+ identifier = "three"
+ name = "Option Three"
+ url = "#"
+ weight = 53
+ [[menu.main]]
+ parent = "submenu"
+ identifier = "four"
+ name = "Option Four"
+ url = "#"
+ weight = 54 \ No newline at end of file