diff options
-rw-r--r-- | layouts/_default/single.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index b407510..0d29660 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -5,9 +5,11 @@ <h2>{{ . }}</h2> {{ end -}} </div> +{{ if .Site.Params.EnableSearch -}} <div style="position: fixed; right:-30px; max-width:300px; overflow:auto; top: 1px; width: 300px; bottom:100px"> {{ partial "search.html" . }} </div> +{{ end -}} <div class="meta"> {{ if .Date -}} <div>{{ .Date.Format (.Site.Params.dateFormat | default "2006-01-02 15:04") }}</div> |