{{ $pages := .CurrentSection.Pages.ByDate.Reverse }}
{{ with $pages.Prev . }} {{ end }} {{ with $pages.Next . }} {{ end }}