summaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/head.html6
-rw-r--r--layouts/partials/sidebar.html4
2 files changed, 5 insertions, 5 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 447a27c..d602f3f 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -8,11 +8,11 @@
<!-- Enable responsiveness on mobile devices-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
- {{ if .IsHome }}
+ {{ if .IsHome -}}
<title>{{ .Site.Title }}</title>
- {{ else }}
+ {{- else -}}
<title>{{ .Title }} &middot; {{ .Site.Title }}</title>
- {{ end }}
+ {{- end }}
<!-- CSS -->
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/print.css" media="print">
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>