{{ if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
{{ with .Paginator.Prev }}
  {{ end }} {{ with .Paginator.Next }}  
{{ end }}
{{ end }}