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 13:59:31 +0300
committerNelson/Roberto <dewittn@gmail.com>2020-05-23 13:59:31 +0300
commitdbb2bd88e64963b8b9b4f4baba060f364de6734b (patch)
tree7e77c37d552898e8f8c9b16d95ffc72c11535299
parentcb1f9ede46aff7ba62e2500ee2624ae0f0609870 (diff)
Chages to fit theme directory guidelines.
-rw-r--r--README.md54
-rw-r--r--exampleSite/config.toml92
-rw-r--r--exampleSite/content/posts/_index.md (renamed from exampleSite/content/blog/_index.md)0
-rw-r--r--exampleSite/content/posts/post.1.md (renamed from exampleSite/content/blog/post.1.md)0
-rw-r--r--exampleSite/content/posts/post.10/banner.jpg (renamed from exampleSite/content/blog/post.10/banner.jpg)bin20737 -> 20737 bytes
-rw-r--r--exampleSite/content/posts/post.10/index.md (renamed from exampleSite/content/blog/post.10/index.md)0
-rw-r--r--exampleSite/content/posts/post.2.md (renamed from exampleSite/content/blog/post.2.md)0
-rw-r--r--exampleSite/content/posts/post.3.md (renamed from exampleSite/content/blog/post.3.md)0
-rw-r--r--exampleSite/content/posts/post.4.md (renamed from exampleSite/content/blog/post.4.md)0
-rw-r--r--exampleSite/content/posts/post.md (renamed from exampleSite/content/blog/post.md)0
-rw-r--r--images/tn.pngbin0 -> 396854 bytes
-rw-r--r--theme.toml14
12 files changed, 127 insertions, 33 deletions
diff --git a/README.md b/README.md
index 617e267..322367c 100644
--- a/README.md
+++ b/README.md
@@ -1,55 +1,57 @@
# Hugo HTML5up Alpha
-
-Hugo HTML5up Alpha is a port of the [Alpha by HTML5 UP](https://html5up.net/alpha) template. It is designed to mirror the look and feel of the original template as closely as possible, while taking advantage of all the best features Hugo has to offer.
-
+
+Hugo HTML5up Alpha is a port of the [Alpha by HTML5 UP](https://html5up.net/alpha) template. It is designed to mirror the look and feel of the original template as closely as possible, while taking advantage of all the best features Hugo has to offer.
+
![](images/screenshot.png)
-
+
## Features
-
+
Theme supports pages, page bundles, menus, sections, taxonomies, and base templates.
-
+
## Demo
-
+
https://hugo-html5up-alpha.nelsonroberto.com/
-
+
## Setup
-
+
### Configuration
-
+
See the demo's configuration as an example:
-
+
https://github.com/dewittn/hugo-html5up-alpha/blob/master/exampleSite/config/config.toml
-
+
#### Hugo Internal Templates
-
+
The theme currently also supports the following ["internal templates" supplied by Hugo](https://gohugo.io/templates/internal/)
-
+
- [Disqus](https://gohugo.io/templates/internal/#disqus)
- [Google Analytics](https://gohugo.io/templates/internal/#configure-google-analytics)
-
+
### Cover Image
-
+
The cover image URL is hard-coded, therefore to replace this add an image to the following location in your Hugo application:
-
+
```
/static/images/banner.jpg
```
-
+
## Development
-
+
### Running Locally
```
- $ cd exampleSite && hugo server --themesDir ../..
+ $ git clone https://github.com/dewittn/hugo-html5up-alpha/
+ $ cd hugo-html5up-alpha/exampleSite
+ $ hugo server --themesDir ../..
```
-
+
## Original Theme Credits
-
+
- [Alpha by HTML5 UP](https://html5up.net/alpha)
-
+
## License
-
- This hugo theme is licensed under the [Creative Commons Attribution 3.0 License](https://creativecommons.org/licenses/by/3.0/).
-
+
+ This hugo theme is licensed under the [Creative Commons Attribution 3.0 License](https://creativecommons.org/licenses/by/3.0/).
+
Read More - [LICENSE](LICENSE)
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
new file mode 100644
index 0000000..a9b82f7
--- /dev/null
+++ b/exampleSite/config.toml
@@ -0,0 +1,92 @@
+languageCode = "en-us"
+title = "Alpha by HTML5 UP"
+baseURL = "https://example.com"
+theme = "hugo-html5up-alpha"
+googleanalytics = ""
+disqusShortname = ""
+
+[params]
+ 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 = ["posts"]
+
+
+# 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
+
+### 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
diff --git a/exampleSite/content/blog/_index.md b/exampleSite/content/posts/_index.md
index 8ab47bd..8ab47bd 100644
--- a/exampleSite/content/blog/_index.md
+++ b/exampleSite/content/posts/_index.md
diff --git a/exampleSite/content/blog/post.1.md b/exampleSite/content/posts/post.1.md
index 6e966e1..6e966e1 100644
--- a/exampleSite/content/blog/post.1.md
+++ b/exampleSite/content/posts/post.1.md
diff --git a/exampleSite/content/blog/post.10/banner.jpg b/exampleSite/content/posts/post.10/banner.jpg
index b0206cb..b0206cb 100644
--- a/exampleSite/content/blog/post.10/banner.jpg
+++ b/exampleSite/content/posts/post.10/banner.jpg
Binary files differ
diff --git a/exampleSite/content/blog/post.10/index.md b/exampleSite/content/posts/post.10/index.md
index 3a9ab86..3a9ab86 100644
--- a/exampleSite/content/blog/post.10/index.md
+++ b/exampleSite/content/posts/post.10/index.md
diff --git a/exampleSite/content/blog/post.2.md b/exampleSite/content/posts/post.2.md
index 467357b..467357b 100644
--- a/exampleSite/content/blog/post.2.md
+++ b/exampleSite/content/posts/post.2.md
diff --git a/exampleSite/content/blog/post.3.md b/exampleSite/content/posts/post.3.md
index 3cf92eb..3cf92eb 100644
--- a/exampleSite/content/blog/post.3.md
+++ b/exampleSite/content/posts/post.3.md
diff --git a/exampleSite/content/blog/post.4.md b/exampleSite/content/posts/post.4.md
index d559e48..d559e48 100644
--- a/exampleSite/content/blog/post.4.md
+++ b/exampleSite/content/posts/post.4.md
diff --git a/exampleSite/content/blog/post.md b/exampleSite/content/posts/post.md
index 08b51ba..08b51ba 100644
--- a/exampleSite/content/blog/post.md
+++ b/exampleSite/content/posts/post.md
diff --git a/images/tn.png b/images/tn.png
new file mode 100644
index 0000000..fdaa843
--- /dev/null
+++ b/images/tn.png
Binary files differ
diff --git a/theme.toml b/theme.toml
index 53e1f00..e816096 100644
--- a/theme.toml
+++ b/theme.toml
@@ -2,13 +2,13 @@
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
name = "hugo-html5up-alpha"
-license = "MIT"
-licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE"
-description = ""
-homepage = "http://example.com/"
-tags = []
-features = []
-min_version = "0.41.0"
+license = "Creative Commons"
+licenselink = "https://github.com/dewittn/hugo-html5up-alpha/blob/master/LICENSE"
+description = "A hugo port of the HTML5 UP Alpha Template."
+homepage = "http://nelsonroberto.com/"
+tags = ["blog", "html5up","responsive"]
+features = ["blog",]
+min_version = "0.70.0"
[author]
name = "Nelson/Roberto"