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

github.com/themefisher/timer-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoshi van den Akker <yoshivda@gmail.com>2022-10-20 18:53:41 +0300
committerGitHub <noreply@github.com>2022-10-20 18:53:41 +0300
commit6df331cc3dfd6bbfeb11438731ab437688a28be9 (patch)
treeee1775db7414fb46d192a544fcefdc61166a4e44
parenta7c85ccdf1792eb6dc59c8dc2d942728df6d363c (diff)
Make CTA url relative to root
CTA url was relative to current page, causing it to refer to non-existing pages such as `about/contact`. By making it relative to the root, it always refers to the correct page
-rw-r--r--exampleSite/config.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 610387f..125a989 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -83,7 +83,7 @@ enable = true
title = "SO WHAT YOU THINK ?"
content = "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nobis,<br>possimus commodi, fugiat magnam temporibus vero magni recusandae? Dolore, maxime praesentium."
btnText = "Contact with me"
-btnURL = "contact/"
+btnURL = "/contact"
# Portfolio Section On Homepage
[params.portfolio]