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:13:11 +0300
committerNelson/Roberto <dewittn@gmail.com>2020-05-23 17:13:11 +0300
commit6d08d1109a24b1a48f84bc1d6abc539dd585eae6 (patch)
tree22bbff9c1dbd26b27f62c3b5793eb5022e7c5fe1 /exampleSite
parent12af5ba56f4e43efdde4d919032be14f0edc5f37 (diff)
More tweaks to get theme working with hugoBasicTheme and hugoThemes.
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config/_default/config.toml123
-rw-r--r--exampleSite/config/develpoment/config.toml (renamed from exampleSite/config.toml)37
-rw-r--r--exampleSite/content/blog/_index.md (renamed from exampleSite/content/posts/_index.md)0
-rw-r--r--exampleSite/content/blog/post.1.md (renamed from exampleSite/content/posts/post.1.md)0
-rw-r--r--exampleSite/content/blog/post.10/banner.jpg (renamed from exampleSite/content/posts/post.10/banner.jpg)bin20737 -> 20737 bytes
-rw-r--r--exampleSite/content/blog/post.10/index.md (renamed from exampleSite/content/posts/post.10/index.md)0
-rw-r--r--exampleSite/content/blog/post.2.md (renamed from exampleSite/content/posts/post.2.md)0
-rw-r--r--exampleSite/content/blog/post.3.md (renamed from exampleSite/content/posts/post.3.md)0
-rw-r--r--exampleSite/content/blog/post.4.md (renamed from exampleSite/content/posts/post.4.md)0
-rw-r--r--exampleSite/content/blog/post.md (renamed from exampleSite/content/posts/post.md)0
-rw-r--r--exampleSite/data/homepage.yml6
11 files changed, 64 insertions, 102 deletions
diff --git a/exampleSite/config/_default/config.toml b/exampleSite/config/_default/config.toml
index eb1765f..fb4246f 100644
--- a/exampleSite/config/_default/config.toml
+++ b/exampleSite/config/_default/config.toml
@@ -1,92 +1,83 @@
+## 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
languageCode = "en-us"
title = "Alpha by HTML5 UP"
-baseURL = "http://localhost:1313/"
+baseURL = "https://example.com"
theme = "hugo-html5up-alpha"
googleanalytics = ""
disqusShortname = ""
[params]
- description = "Another fine responsive site template freebie by HTML5 UP."
+ 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
+ mainSections = ["post"]
+
[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
+ url = "/post/"
+ weight = 20
[[menu.main]]
- identifier = "submenu"
- name = "Submenu"
+ identifier = "taxonomies"
+ name = "Taxonomies"
url = "#"
- weight = 50
+ weight = 30
[[menu.main]]
- parent = "submenu"
- identifier = "one"
- name = "Option One"
- url = "#"
- weight = 51
+ parent = "taxonomies"
+ identifier = "categories"
+ name = "Categories"
+ url = "/categories/"
+ weight = 31
[[menu.main]]
- parent = "submenu"
- identifier = "two"
- name = "Option Two"
- url = "#"
- weight = 52
+ parent = "taxonomies"
+ identifier = "tags"
+ name = "Tags"
+ url = "/tags/"
+ weight = 31
[[menu.main]]
- parent = "submenu"
- identifier = "three"
- name = "Option Three"
- url = "#"
- weight = 53
- [[menu.main]]
- parent = "submenu"
- identifier = "four"
- name = "Option Four"
- url = "#"
- weight = 54
+ 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
-### 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/"
+ [privacy.youtube]
+ disabled = false
+ privacyEnhanced = true
-[[params.share]]
-title = "twitter"
-icon = "fa-twitter"
-link = "https://twitter.com/"
+[services]
-[[params.share]]
-title = "linkedin"
-icon = "fa-linkedin"
-link = "https://www.linkedin.com"
+ [services.instagram]
+ disableInlineCSS = true
-# Below parameters can be set to override default post settings
-[params.posts]
-# folderName = "posts"
-# pageSize = "6"
-# featuredPost = false
-# paginationPages = 2
-# showFirstLast = false
+ [services.twitter]
+ disableInlineCSS = true \ No newline at end of file
diff --git a/exampleSite/config.toml b/exampleSite/config/develpoment/config.toml
index a9b82f7..0a1a7ca 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config/develpoment/config.toml
@@ -1,18 +1,13 @@
-languageCode = "en-us"
-title = "Alpha by HTML5 UP"
+# Basic settings are inherited from _default/config.toml
baseURL = "https://example.com"
-theme = "hugo-html5up-alpha"
-googleanalytics = ""
-disqusShortname = ""
[params]
- description = "Another fine responsive site template freebie by HTML5 UP."
+ 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 = ["posts"]
-
+ mainSections = ["blog"]
# For Pages the .RelPermalink must match the menu .URL
# For sections the name/directory must match the menu .Identifier
@@ -65,28 +60,4 @@ disqusShortname = ""
identifier = "four"
name = "Option Four"
url = "#"
- weight = 54
-
-### 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"
-
-# Below parameters can be set to override default post settings
-[params.posts]
-# folderName = "posts"
-# pageSize = "6"
-# featuredPost = false
-# paginationPages = 2
-# showFirstLast = false
+ weight = 54 \ No newline at end of file
diff --git a/exampleSite/content/posts/_index.md b/exampleSite/content/blog/_index.md
index 8ab47bd..8ab47bd 100644
--- a/exampleSite/content/posts/_index.md
+++ b/exampleSite/content/blog/_index.md
diff --git a/exampleSite/content/posts/post.1.md b/exampleSite/content/blog/post.1.md
index 6e966e1..6e966e1 100644
--- a/exampleSite/content/posts/post.1.md
+++ b/exampleSite/content/blog/post.1.md
diff --git a/exampleSite/content/posts/post.10/banner.jpg b/exampleSite/content/blog/post.10/banner.jpg
index b0206cb..b0206cb 100644
--- a/exampleSite/content/posts/post.10/banner.jpg
+++ b/exampleSite/content/blog/post.10/banner.jpg
Binary files differ
diff --git a/exampleSite/content/posts/post.10/index.md b/exampleSite/content/blog/post.10/index.md
index 3a9ab86..3a9ab86 100644
--- a/exampleSite/content/posts/post.10/index.md
+++ b/exampleSite/content/blog/post.10/index.md
diff --git a/exampleSite/content/posts/post.2.md b/exampleSite/content/blog/post.2.md
index 467357b..467357b 100644
--- a/exampleSite/content/posts/post.2.md
+++ b/exampleSite/content/blog/post.2.md
diff --git a/exampleSite/content/posts/post.3.md b/exampleSite/content/blog/post.3.md
index 3cf92eb..3cf92eb 100644
--- a/exampleSite/content/posts/post.3.md
+++ b/exampleSite/content/blog/post.3.md
diff --git a/exampleSite/content/posts/post.4.md b/exampleSite/content/blog/post.4.md
index d559e48..d559e48 100644
--- a/exampleSite/content/posts/post.4.md
+++ b/exampleSite/content/blog/post.4.md
diff --git a/exampleSite/content/posts/post.md b/exampleSite/content/blog/post.md
index 08b51ba..08b51ba 100644
--- a/exampleSite/content/posts/post.md
+++ b/exampleSite/content/blog/post.md
diff --git a/exampleSite/data/homepage.yml b/exampleSite/data/homepage.yml
index ff86ca9..8871308 100644
--- a/exampleSite/data/homepage.yml
+++ b/exampleSite/data/homepage.yml
@@ -2,7 +2,7 @@
banner:
enable: true
title: "Alpha"
- content: "Another fine responsive site template freebie by HTML5 UP."
+ content: "" # Change this if you want something other then the site description
buttons:
- title: "Sign Up"
link: "#"
@@ -16,11 +16,11 @@ highlight:
header: "Introducing the ultimate mobile app <br /> for doing stuff with your phone"
content: "Blandit varius ut praesent nascetur eu penatibus nisi risus faucibus nunc ornare<br /> adipiscing nunc adipiscing. Condimentum turpis massa."
image: "images/pic01.jpg"
-
+
### Features ###
features:
enable: true
- rows:
+ rows:
- items:
- title: "Magna etiam"
icon: "fa-bolt"