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

github.com/onweru/compose.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/nav.html')
-rw-r--r--layouts/partials/nav.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
index 971f9a6..befe10e 100644
--- a/layouts/partials/nav.html
+++ b/layouts/partials/nav.html
@@ -9,7 +9,9 @@
<img srcset = '{{ $normalPath }}' alt = '{{ .Site.Title }} Logo'>
</picture>
</a>
+ {{ if .Site.Params.enableSearch | default true }}
{{- partial "search.html" . }}
+ {{ end }}
<ul class="nav_body">
{{- $p := . }}
{{- range .Site.Menus.main }}