diff options
author | Nelson/Roberto <dewittn@gmail.com> | 2020-05-23 17:47:26 +0300 |
---|---|---|
committer | Nelson/Roberto <dewittn@gmail.com> | 2020-05-23 17:47:26 +0300 |
commit | 7eef9e1e7ab4a6ec208e2bbe6816e040f7083796 (patch) | |
tree | ca0c62a41036c8fc892eb62d09cdc7fc432b0847 | |
parent | 629d387ac29b3a156de5ba57b5aa83582d8dfa4e (diff) |
Minor changes to config files to work with hugoThemes site generator script.
-rw-r--r-- | exampleSite/config/_default/config.toml | 71 | ||||
-rw-r--r-- | exampleSite/config/development/config.toml | 5 | ||||
-rw-r--r-- | exampleSite/config/live-demo/config.toml | 54 | ||||
-rw-r--r-- | exampleSite/config/production/config.toml | 104 |
4 files changed, 113 insertions, 121 deletions
diff --git a/exampleSite/config/_default/config.toml b/exampleSite/config/_default/config.toml index dfb4da6..9392736 100644 --- a/exampleSite/config/_default/config.toml +++ b/exampleSite/config/_default/config.toml @@ -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..a823431 100644 --- a/exampleSite/config/development/config.toml +++ b/exampleSite/config/development/config.toml @@ -1,11 +1,6 @@ # 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] - 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 |