Remove unused whitespace in seriesnav.html
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
parent
7c085b4d39
commit
a5cda19e5e
|
@ -1,14 +1,14 @@
|
||||||
{{- $page := . -}}
|
{{- $page := . -}}
|
||||||
{{ $term := index (.GetTerms "series") 0 }}
|
{{- $term := index (.GetTerms "series") 0 -}}
|
||||||
{{ with $term }}
|
{{- with $term -}}
|
||||||
{{- /* No idea why the 'Reverse' is needed? */ -}}
|
{{- /* 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 -}}
|
||||||
<nav class="series-navigation">
|
<nav class="series-navigation">
|
||||||
{{ with $pages.Prev $page }}
|
{{- with $pages.Prev $page -}}
|
||||||
{{ partial "serieslink.html" (dict "direction" "previous" "link" .RelPermalink "page" .) }}
|
{{- partial "serieslink.html" (dict "direction" "previous" "link" .RelPermalink "page" .) -}}
|
||||||
{{ end }}
|
{{- end -}}
|
||||||
{{ with $pages.Next $page }}
|
{{- with $pages.Next $page -}}
|
||||||
{{ partial "serieslink.html" (dict "direction" "next" "link" .RelPermalink "page" .) }}
|
{{- partial "serieslink.html" (dict "direction" "next" "link" .RelPermalink "page" .) -}}
|
||||||
{{ end }}
|
{{- end -}}
|
||||||
</nav>
|
</nav>
|
||||||
{{ end }}
|
{{- end -}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user