diff --git a/layouts/partials/seriesnav.html b/layouts/partials/seriesnav.html
index 05dbca3..cd9a290 100644
--- a/layouts/partials/seriesnav.html
+++ b/layouts/partials/seriesnav.html
@@ -1,14 +1,14 @@
{{- $page := . -}}
-{{ $term := index (.GetTerms "series") 0 }}
-{{ with $term }}
+{{- $term := index (.GetTerms "series") 0 -}}
+{{- with $term -}}
{{- /* No idea why the 'Reverse' is needed? */ -}}
-{{ $pages := (site.Taxonomies.series.Get .Data.Term).Pages.ByDate.Reverse }}
+{{- $pages := (site.Taxonomies.series.Get .Data.Term).Pages.ByDate.Reverse -}}
-{{ end }}
+{{- end -}}