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 := . -}}
 | 
			
		||||
{{ $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 -}}
 | 
			
		||||
<nav class="series-navigation">
 | 
			
		||||
{{ with $pages.Prev $page }}
 | 
			
		||||
{{ partial "serieslink.html" (dict "direction" "previous" "link" .RelPermalink "page" .) }}
 | 
			
		||||
{{ end }}
 | 
			
		||||
{{ with $pages.Next $page }}
 | 
			
		||||
{{ partial "serieslink.html" (dict "direction" "next" "link" .RelPermalink "page" .) }}
 | 
			
		||||
{{ end }}
 | 
			
		||||
{{- with $pages.Prev $page -}}
 | 
			
		||||
{{- partial "serieslink.html" (dict "direction" "previous" "link" .RelPermalink "page" .) -}}
 | 
			
		||||
{{- end -}}
 | 
			
		||||
{{- with $pages.Next $page -}}
 | 
			
		||||
{{- partial "serieslink.html" (dict "direction" "next" "link" .RelPermalink "page" .) -}}
 | 
			
		||||
{{- end -}}
 | 
			
		||||
</nav>
 | 
			
		||||
{{ end }}
 | 
			
		||||
{{- end -}}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user