about summary refs log tree commit diff stats
path: root/layouts/partials/sidebar.html
diff options
context:
space:
mode:
authordigitalcraftsman2017-09-07 21:43:11 +0200
committerdigitalcraftsman2017-09-07 21:43:11 +0200
commitfe56862a539d0196b4c6e852d3fa31e0768733c9 (patch)
tree9589af770eff474427e1f6448110d6a03d1b078b /layouts/partials/sidebar.html
parent82832c1244f2d536c754efb98fbdb02b1844f4c7 (diff)
downloadhyde-fe56862a539d0196b4c6e852d3fa31e0768733c9.tar.lz
hyde-fe56862a539d0196b4c6e852d3fa31e0768733c9.tar.zst
hyde-fe56862a539d0196b4c6e852d3fa31e0768733c9.zip
Trim more whitespace in template logic
Diffstat (limited to 'layouts/partials/sidebar.html')
-rw-r--r--layouts/partials/sidebar.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index a582955..d4839c8 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -9,9 +9,9 @@
 
     <ul class="sidebar-nav">
       <li><a href="{{ .Site.BaseURL }}">Home</a> </li>
-      {{ range .Site.Menus.main }}
+      {{ range .Site.Menus.main -}}
         <li><a href="{{.URL}}"> {{ .Name }} </a></li>
-      {{end}}
+      {{- end }}
     </ul>
 
     <p>{{ with .Site.Params.copyright }}{{.}}{{ else }}&copy; {{ now.Format "2006"}}. All rights reserved. {{end}}</p>