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

github.com/kishaningithub/hugo-shopping-product-catalogue-simple.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKishan B <bkishan@thoughtworks.com>2018-12-29 07:55:13 +0300
committerKishan B <bkishan@thoughtworks.com>2018-12-29 07:55:13 +0300
commitc6e71f71ffae74dca547e268a5ffced0c59ed661 (patch)
tree8075f0f651e460a65ac3f9158c6e24f9aa103e38
parent30bf648b5931e3687782c0df1b30735e5bed6b80 (diff)
Fix path issue with site's main nav. Fixes #6HEADmaster
-rw-r--r--layouts/partials/products/common/site-main-nav.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/products/common/site-main-nav.html b/layouts/partials/products/common/site-main-nav.html
index 707b3a3..e4c7fe7 100644
--- a/layouts/partials/products/common/site-main-nav.html
+++ b/layouts/partials/products/common/site-main-nav.html
@@ -1,7 +1,7 @@
<nav class="navbar navbar-expand navbar-light justify-content-center">
<ul class="navbar-nav">
<li class="nav-item">
- <a class="nav-link" href="/products/">All</a>
+ <a class="nav-link" href="{{ "products/" | absURL }}">All</a>
</li>
{{ range ($.Site.GetPage "taxonomyTerm" "categories").Pages }}
<li class="nav-item">