diff options
author | Sojon <sojon.themefisher@gmail.com> | 2022-02-07 13:18:33 +0300 |
---|---|---|
committer | Sojon <sojon.themefisher@gmail.com> | 2022-02-07 13:18:33 +0300 |
commit | f04d2b8825cc21098dd58d7245c16f5fc6cc9869 (patch) | |
tree | 11875fa78ee89852866583d6d5f6f387edea7ec1 | |
parent | d8087869f9416315c6de0026f5c256e462e8533f (diff) |
modified config && updated Title
-rw-r--r-- | exampleSite/config.toml | 28 | ||||
-rw-r--r-- | layouts/partials/head.html | 2 |
2 files changed, 15 insertions, 15 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 46b5be6..e82a633 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1,6 +1,6 @@ ################################# Default configuration ################### # provide your domain here -baseURL = "https://examplesite.com/" +baseURL = "https://demo.gethugothemes.com/dot/examplesite/" # theme theme = "dot-hugo" # site title @@ -86,23 +86,23 @@ content = "Musce libero nunc, dignissim quis turpis quis, semper vehicula dolor. [Languages.en.params.cta.button] enable = true label = "contact us" -link = "contact" +link = "contact/" ################## english navigation ################# [[Languages.en.menu.main]] name = "Home" -url = "/" +url = "" weight = 1 [[Languages.en.menu.main]] name = "Faq" -url = "faq" +url = "faq/" weight = 2 [[Languages.en.menu.main]] name = "contact" -url = "contact" +url = "contact/" weight = 3 # Dropdown menu @@ -114,19 +114,19 @@ hasChildren = true [[Languages.en.menu.main]] parent = "docs" name = "Installation" - url = "installation" + url = "installation/" weight = 1 [[Languages.en.menu.main]] parent = "docs" name = "Billing and Pricing" - url = "billing-pricing" + url = "billing-pricing/" weight = 2 [[Languages.en.menu.main]] parent = "docs" name = "Features" - url = "features" + url = "features/" weight = 3 @@ -153,7 +153,7 @@ content = "Contactez-nous pour plus de détails sur les services supplémentaire [Languages.fr.params.cta.button] enable = true label = "Contactez nous" -link = "contact" +link = "contact/" ################## french navigation ################# @@ -164,12 +164,12 @@ weight = 1 [[Languages.fr.menu.main]] name = "Faq" -url = "faq" +url = "faq/" weight = 2 [[Languages.fr.menu.main]] name = "contact" -url = "contact" +url = "contact/" weight = 3 # Dropdown menu @@ -181,17 +181,17 @@ hasChildren = true [[Languages.fr.menu.main]] parent = "docs" name = "Installation" - url = "installation" + url = "installation/" weight = 1 [[Languages.fr.menu.main]] parent = "docs" name = "Billing and Pricing" - url = "billing-pricing" + url = "billing-pricing/" weight = 2 [[Languages.fr.menu.main]] parent = "docs" name = "Features" - url = "features" + url = "features/" weight = 3 diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 29140ed..eaee6a5 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,6 +1,6 @@ <head> <meta charset="utf-8" /> - <title>{{ .Title }}</title> + <title>{{ .Title | default site.Title }}</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> {{ hugo.Generator }} <meta name="description" content="{{ .Title }} - {{ .Site.Title }} " /> |