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.toml96
1 files changed, 69 insertions, 27 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index def7af3..66b7e3c 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -1,6 +1,7 @@
-baseurl = "https://example.org"
+baseurl = "https://devcows.github.io/hugo-universal-theme/" # Configure URL. if using gh-pages https://github.com/<username>/hugo-universal-theme URL: https://<username>.github.io/hugo-universal-theme/
title = "Universal"
theme = "hugo-universal-theme"
+themesDir = "../.."
languageCode = "en-us"
# Site language. Available translations in the theme's `/i18n` directory.
defaultContentLanguage = "en"
@@ -9,13 +10,14 @@ disqusShortname = "devcows"
# Enable Google Analytics by entering your tracking code
googleAnalytics = ""
+
# Define the number of posts per page
paginate = 10
[menu]
-# Main menu
+# Main menu
[[menu.main]]
name = "Home"
identifier = "menu.home"
@@ -317,7 +319,7 @@ paginate = 10
[[menu.main]]
name = "Blog"
identifier = "section.ap-blog"
- url = ""
+ url = "/blog/"
weight = 3
parent = "menu.allpages"
post = 4
@@ -329,15 +331,23 @@ paginate = 10
parent = "section.ap-blog"
[[menu.main]]
+ name = "Blog"
+ identifier = "menu.blog"
+ url = "/blog/"
+ weight = 5
+
+[[menu.main]]
name = "FAQ"
identifier = "menu.faq"
url = "/faq/"
- weight = 5
+ weight = 6
[[menu.main]]
+ identifier = "contact"
name = "Contact"
url = "/contact/"
- weight = 6
+ weight = 7
+
# Top bar social links menu
@@ -345,52 +355,64 @@ paginate = 10
weight = 1
name = "GitHub"
url = "https://github.com/devcows/hugo-universal-theme"
- pre = "<i class='fa fa-2x fa-github'></i>"
+ pre = "<i class='fab fa-2x fa-github'></i>"
[[menu.topbar]]
weight = 2
name = "Facebook"
url = "http://facebook.com"
- pre = "<i class='fa fa-2x fa-facebook'></i>"
+ pre = "<i class='fab fa-2x fa-facebook'></i>"
[[menu.topbar]]
weight = 3
name = "Twitter"
url = "http://twitter.com"
- pre = "<i class='fa fa-2x fa-twitter'></i>"
+ pre = "<i class='fab 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>"
+ url = "mailto:hello@universal.com"
+ pre = "<i class='fas fa-2x fa-envelope'></i>"
[params]
viewMorePostLink = "/blog/"
author = "DevCows"
defaultKeywords = ["devows", "hugo", "go"]
+ mainSections = ["blog"]
defaultDescription = "Site template made by devcows using hugo"
- # Google Maps API key (if not set will default to not passing a key.)
- googleMapsApiKey = "AIzaSyCFhtWLJcE30xOAjcbSFi-0fnoVmQZPb1Y"
+ # Social media
+ facebook_site = "" # the Facebook handle of your site ('https://www.facebook.com/HANDLE')
+ twitter_site = "GoHugoIO" # the Twitter handle of your site (without the '@')
+ default_sharing_image = "img/sharing-default.png"
+
+ # Google Maps widget: If `googleMapsApiKey` is not set, no key will be passed to Google (which likely results in a broken map widget).
+ enableGoogleMaps = true
+ googleMapsApiKey = "AIzaSyAv7Sza8NSp9_l_g8G2vlo0H4ydEPn_2jY"
+
+ latitude = "-12.043333"
+ longitude = "-77.028333"
# Style options: default (light-blue), blue, green, marsala, pink, red, turquoise, violet
style = "default"
# Since this template is static, the contact form uses www.formspree.io as a
# proxy. The form makes a POST request to their servers to send the actual
- # email. Visitors can send up to a 1000 emails each month for free.
+ # email. Visitors can send up to a 50 emails each month for free.
#
# What you need to do for the setup?
#
- # - set your email address under 'email' below
+ # - register your account to https://formspree.io/register
+ # - login and create new form
+ # - set your form's endpoint url under 'formspree_action' below
# - upload the generated site to your server
- # - send a dummy email yourself to confirm your account
- # - click the confirm link in the email from www.formspree.io
+ # - test a dummy email yourself
# - you're done. Happy mailing!
#
- # Enable the contact form by entering your Formspree.io email
- email = "your@email.com"
+ # Enable the contact form by entering your Formspree.io endpoint url
+ formspree_action = "https://formspree.io/sample/of/endpoint"
+ contact_form_ajax = false
about_us = "<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.</p>"
copyright = "Copyright (c) 2015 - 2016, YourCompany; all rights reserved."
@@ -399,7 +421,8 @@ paginate = 10
date_format = "January 2, 2006"
logo = "img/logo.png"
- address = """<p><strong>Universal Ltd.</strong>
+ logo_small = "img/logo-small.png"
+ address = """<p class="text-uppercase"><strong>Universal Ltd.</strong>
<br>13/25 New Avenue
<br>Newtown upon River
<br>45Y 73J
@@ -408,18 +431,16 @@ paginate = 10
<strong>Great Britain</strong>
</p>
"""
- latitude = "-12.043333"
- longitude = "-77.028333"
-[Permalinks]
+[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 class="hidden-md hidden-lg"><a href="tel:+420 777 555 333" data-animate-hover="pulse"><i class="fas fa-phone"></i></a>
+ <a href="mailto:hello@universal.com" data-animate-hover="pulse"><i class="fas fa-envelope"></i></a>
</p>
"""
@@ -429,11 +450,26 @@ paginate = 10
tags = true
search = true
-[params.carousel]
- enable = true
+[params.carouselCustomers]
+ items = 6
+ auto_play = false
+ slide_speed = 2000
+ pagination_speed = 1000
+
+[params.carouselTestimonals]
+ items = 4
+ auto_play = false
+ slide_speed = 2000
+ pagination_speed = 1000
+
+[params.carouselHomepage]
# All carousel items are defined in their own files. You can find example items
# at 'exampleSite/data/carousel'.
# For more informtion take a look at the README.
+ enable = true
+ auto_play = true
+ slide_speed = 2000
+ pagination_speed = 1000
[params.features]
enable = true
@@ -451,7 +487,7 @@ paginate = 10
[params.see_more]
enable = true
- icon = "fa fa-file-code-o"
+ icon = "far fa-file-alt"
title = "Do you want to see more?"
subtitle = "We have prepared for you more than 40 different HTML pages, including 5 variations of homepage."
link_url = "#"
@@ -469,3 +505,9 @@ paginate = 10
enable = true
title = "From our blog"
subtitle = "Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo."
+ hide_summary = false
+
+[taxonomies]
+ category = "categories"
+ tag = "tags"
+ author = "authors"