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:47:26 +0300
committerNelson/Roberto <dewittn@gmail.com>2020-05-23 17:57:39 +0300
commit1bc61343f55f854687f19aa6a01e5e24625ee807 (patch)
treeeb80ad9a513cabc7bfbf359f589e93d195602ed3
parent629d387ac29b3a156de5ba57b5aa83582d8dfa4e (diff)
Minor changes to config files to work with hugoThemes site generator script.
-rw-r--r--exampleSite/config/_default/config.toml75
-rw-r--r--exampleSite/config/development/config.toml8
-rw-r--r--exampleSite/config/live-demo/config.toml54
-rw-r--r--exampleSite/config/production/config.toml104
4 files changed, 117 insertions, 124 deletions
diff --git a/exampleSite/config/_default/config.toml b/exampleSite/config/_default/config.toml
index dfb4da6..397bb24 100644
--- a/exampleSite/config/_default/config.toml
+++ b/exampleSite/config/_default/config.toml
@@ -8,12 +8,12 @@ googleanalytics = ""
disqusShortname = ""
[params]
- description = "Test Another fine responsive site template freebie by HTML5 UP."
+ description = "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 = ["post"]
+ mainSections = ["blog"]
### Footer Social Media Links ###
[[params.share]]
@@ -29,73 +29,4 @@ 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"
- name = "About"
- url = "/about/"
- weight = 10
- [[menu.main]]
- identifier = "blog"
- name = "Blog"
- url = "/post/"
- weight = 20
- [[menu.main]]
- identifier = "taxonomies"
- name = "Taxonomies"
- url = "#"
- weight = 30
- [[menu.main]]
- parent = "taxonomies"
- identifier = "categories"
- name = "Categories"
- url = "/categories/"
- weight = 31
- [[menu.main]]
- parent = "taxonomies"
- identifier = "tags"
- name = "Tags"
- url = "/tags/"
- weight = 31
- [[menu.main]]
- parent = "taxonomies"
- identifier = "series"
- name = "Series"
- url = "/series/"
- weight = 33
-
-[taxonomies]
- category = "categories"
- tag = "tags"
- series = "series"
-
-[privacy]
-
- [privacy.vimeo]
- disabled = false
- simple = true
-
- [privacy.twitter]
- disabled = false
- enableDNT = true
- simple = true
-
- [privacy.instagram]
- disabled = false
- simple = true
-
- [privacy.youtube]
- disabled = false
- privacyEnhanced = true
-
-[services]
-
- [services.instagram]
- disableInlineCSS = true
-
- [services.twitter]
- disableInlineCSS = true \ No newline at end of file
+link = "https://www.linkedin.com" \ No newline at end of file
diff --git a/exampleSite/config/development/config.toml b/exampleSite/config/development/config.toml
index 6ee33ac..ea21473 100644
--- a/exampleSite/config/development/config.toml
+++ b/exampleSite/config/development/config.toml
@@ -1,11 +1,7 @@
# 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/"
+## This is a more extensive example of the themes capabilities that pulls from the local `exampleSite`
+## Run `hugo server` to load this demo
-[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]
diff --git a/exampleSite/config/live-demo/config.toml b/exampleSite/config/live-demo/config.toml
new file mode 100644
index 0000000..1282611
--- /dev/null
+++ b/exampleSite/config/live-demo/config.toml
@@ -0,0 +1,54 @@
+# All other settings are inherited from _default/config.toml
+## This is the config file used for the live demo located at URL below
+baseURL = "https://hugo-html5up-alpha.nelsonroberto.com/"
+
+[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
diff --git a/exampleSite/config/production/config.toml b/exampleSite/config/production/config.toml
index 6fb7650..5af3e84 100644
--- a/exampleSite/config/production/config.toml
+++ b/exampleSite/config/production/config.toml
@@ -1,60 +1,72 @@
-# All other settings are inherited from _default/config.toml
-## This is the config file used for the live demo located at URL below
-baseURL = "https://hugo-html5up-alpha.nelsonroberto.com/"
+## Everything below this is specific to the hugoBasicExample
+baseURL = "https://example.com"
[params]
- mainSections = ["blog"]
+ mainSections = ["post"]
-## 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/"
+ identifier = "about"
+ name = "About"
+ url = "/about/"
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
+ url = "/post/"
+ weight = 20
[[menu.main]]
- parent = "submenu"
- identifier = "one"
- name = "Option One"
+ identifier = "taxonomies"
+ name = "Taxonomies"
url = "#"
- weight = 51
+ weight = 30
[[menu.main]]
- parent = "submenu"
- identifier = "two"
- name = "Option Two"
- url = "#"
- weight = 52
+ parent = "taxonomies"
+ identifier = "categories"
+ name = "Categories"
+ url = "/categories/"
+ weight = 31
[[menu.main]]
- parent = "submenu"
- identifier = "three"
- name = "Option Three"
- url = "#"
- weight = 53
+ parent = "taxonomies"
+ identifier = "tags"
+ name = "Tags"
+ url = "/tags/"
+ weight = 31
[[menu.main]]
- parent = "submenu"
- identifier = "four"
- name = "Option Four"
- url = "#"
- weight = 54 \ No newline at end of file
+ parent = "taxonomies"
+ identifier = "series"
+ name = "Series"
+ url = "/series/"
+ weight = 33
+
+[taxonomies]
+ category = "categories"
+ tag = "tags"
+ series = "series"
+
+[privacy]
+
+ [privacy.vimeo]
+ disabled = false
+ simple = true
+
+ [privacy.twitter]
+ disabled = false
+ enableDNT = true
+ simple = true
+
+ [privacy.instagram]
+ disabled = false
+ simple = true
+
+ [privacy.youtube]
+ disabled = false
+ privacyEnhanced = true
+
+[services]
+
+ [services.instagram]
+ disableInlineCSS = true
+
+ [services.twitter]
+ disableInlineCSS = true \ No newline at end of file