Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/devcows/hugo-universal-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/config.toml')
-rw-r--r--exampleSite/config.toml37
1 files changed, 37 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 0e19508..669828a 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -14,6 +14,8 @@ paginate = 10
[menu]
+# Main menu
+
[[menu.main]]
name = "Home"
url = "/"
@@ -35,6 +37,32 @@ paginate = 10
url = "/contact/"
weight = 4
+# Top bar social links menu
+
+[[menu.topbar]]
+ weight = 1
+ name = "GitHub"
+ url = "https://github.com/devcows/hugo-universal-theme"
+ pre = "<i class='fa fa-2x fa-github'></i>"
+
+[[menu.topbar]]
+ weight = 2
+ name = "Facebook"
+ url = "http://facebook.com"
+ pre = "<i class='fa fa-2x fa-facebook'></i>"
+
+[[menu.topbar]]
+ weight = 3
+ name = "Twitter"
+ url = "http://twitter.com"
+ pre = "<i class='fa fa-2x fa-twitter'></i>"
+
+[[menu.topbar]]
+ weight = 4
+ name = "Email"
+ url = "mailto:your@email.com"
+ pre = "<i class='fa fa-2x fa-envelope'></i>"
+
[params]
viewMorePostLink = "/blog/"
author = "DevCows"
@@ -84,6 +112,15 @@ paginate = 10
[Permalinks]
blog = "/blog/:year/:month/:day/:filename/"
+# Enable or disable top bar with social icons
+[params.topbar]
+ enable = true
+ text = """<p class="hidden-sm hidden-xs">Contact us on +420 777 555 333 or hello@universal.com.</p>
+ <p class="hidden-md hidden-lg"><a href="#" data-animate-hover="pulse"><i class="fa fa-phone"></i></a>
+ <a href="#" data-animate-hover="pulse"><i class="fa fa-envelope"></i></a>
+ </p>
+ """
+
# Enable and disable widgets for the right sidebar
[params.widgets]
categories = true