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

github.com/xaviablaza/hugo-lodi-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavi Ablaza <xlablaza@gmail.com>2018-05-28 10:39:25 +0300
committerGitHub <noreply@github.com>2018-05-28 10:39:25 +0300
commit7dc90028e3a54d68d592051260ab3a4b48a0b61c (patch)
treef7dc304dc1b6bcf89fc9fc077e2cf6447be1bc94
parentf8cd0ecd76881b2bebc834644a4b64dcfda27d23 (diff)
Update nav.html
-rw-r--r--layouts/partials/nav.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
index bce1190..7c058ba 100644
--- a/layouts/partials/nav.html
+++ b/layouts/partials/nav.html
@@ -4,14 +4,14 @@
</a>
<div class="sub-navigation">
<a href="#" class="main-navigation-link" id="about" data-scroll-goto="0">About</a>
-
+
{{ if .Site.Params.process.enable }}
<a href="#" class="main-navigation-link" data-scroll-goto="2">{{ .Site.Params.process.title }}</a>
- {{end}}
+ {{ end }}
{{ if .Site.Params.case_studies.enable }}
<a href="#" class="main-navigation-link" data-scroll-goto="2">{{ .Site.Params.case_studies.title }}</a>
- {{end}}
+ {{ end }}
</div>
</nav>