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-12 00:18:15 +0300
committerNelson/Roberto <dewittn@gmail.com>2020-05-12 00:18:15 +0300
commit539737e8510a07428d3809674e75941655099225 (patch)
treee5a940c99a2a237718bc48f4457c6bff2eaa817b /exampleSite
parentc93f9d84777ab0059a2b5235ab0e702603925551 (diff)
Created data file for global header.
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config/_default/config.toml1
-rw-r--r--exampleSite/data/globalheader.yml5
-rw-r--r--exampleSite/data/homepage.yml16
3 files changed, 20 insertions, 2 deletions
diff --git a/exampleSite/config/_default/config.toml b/exampleSite/config/_default/config.toml
index 8021872..8cc446d 100644
--- a/exampleSite/config/_default/config.toml
+++ b/exampleSite/config/_default/config.toml
@@ -12,6 +12,7 @@ disqusShortname = ""
copyright = "© Untitled. All rights reserved."
design = "Desing: [HTML5 UP](http://html5up.net/) | Hugo Port: [Nelson/Roberto](https://nelsonroberto.com/)."
+
# For Pages the .RelPermalink must match the menu .URL
# For sections the name/directory must match the menu .Identifier
[menu]
diff --git a/exampleSite/data/globalheader.yml b/exampleSite/data/globalheader.yml
new file mode 100644
index 0000000..c58ea43
--- /dev/null
+++ b/exampleSite/data/globalheader.yml
@@ -0,0 +1,5 @@
+title: "[Alpha](/) by HTML5 UP"
+button:
+ enable: true
+ title: "Sign up"
+ link: "#" \ No newline at end of file
diff --git a/exampleSite/data/homepage.yml b/exampleSite/data/homepage.yml
index f988230..ff86ca9 100644
--- a/exampleSite/data/homepage.yml
+++ b/exampleSite/data/homepage.yml
@@ -1,11 +1,23 @@
-### highlight ###
+### Banner ###
+banner:
+ enable: true
+ title: "Alpha"
+ content: "Another fine responsive site template freebie by HTML5 UP."
+ buttons:
+ - title: "Sign Up"
+ link: "#"
+ class: "primary"
+ - title: "Learn More"
+ link: "#"
+
+### Highlight ###
highlight:
enable: true
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 ###
features:
enable: true
rows: