Trim more whitespace in template logic

This commit is contained in:
digitalcraftsman 2017-09-07 21:43:11 +02:00
parent 82832c1244
commit fe56862a53
3 changed files with 6 additions and 6 deletions

View file

@ -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>