aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/header.html
diff options
context:
space:
mode:
authorLuiz de Prá <luiz.pra@olist.com>2018-03-23 14:28:38 -0300
committerLuiz de Prá <luiz.pra@olist.com>2018-03-23 14:28:38 -0300
commit853492596dd78dedb755e66db8d79d01e13c66b2 (patch)
treecc195c17a5d5bc6cb28e2c741fb99b8c56975d9c /layouts/partials/header.html
parent941c9a741fe7ebe82aacdea5ec3b3a2298aede2f (diff)
downloadhugo-coder-853492596dd78dedb755e66db8d79d01e13c66b2.tar.gz
hugo-coder-853492596dd78dedb755e66db8d79d01e13c66b2.tar.bz2
hugo-coder-853492596dd78dedb755e66db8d79d01e13c66b2.zip
Fix template to suport empty social parameter
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r--layouts/partials/header.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 34fd729..1a2ae40 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -3,7 +3,7 @@
<a class="navigation-title" href="{{ "/" | absURL }}">
{{ .Site.Title }}
</a>
- {{with .Site.Menus.main}}
+ {{ with .Site.Menus.main }}
<ul class="navigation-list float-right">
{{ range sort . }}
<li class="navigation-item">
@@ -11,6 +11,6 @@
</li>
{{ end }}
</ul>
- {{end}}
+ {{ end }}
</section>
</nav>