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:
authorGuillermo Guerrero Ibarra <wolf.fox1985@gmail.com>2021-09-06 00:29:54 +0300
committerGitHub <noreply@github.com>2021-09-06 00:29:54 +0300
commit152f9787d9078c5aed3ecb8c9b3f455934ff9657 (patch)
tree67ab9275165fa1ed7c9ba5d4fb17b4b27465bddd /layouts
parent2522af34703eb243895c0ee7c7abac4617c268df (diff)
Custom url for contact button. (#323)
* Custom url for contact button. * Update README.md Co-authored-by: Guillermo Guerrero Ibarra <guillermo.guerrero@deliveroo.co.uk>
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/footer.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index eeddb52..b23582d 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -50,7 +50,7 @@
{{ .Site.Params.address | safeHTML }}
- <a href="/contact" class="btn btn-small btn-template-main">{{ i18n "contactGoTo" }}</a>
+ <a href="{{ default "/contact" .Site.Params.contact_url }}" class="btn btn-small btn-template-main">{{ i18n "contactGoTo" }}</a>
<hr class="hidden-md hidden-lg hidden-sm">