<div class="{{ .direction }} wrapper">
  <a href="{{ .page.RelPermalink }}">
    {{ if eq .direction "previous" }}{{ partial "icon.html" "chevrons-left" }}{{ end }}
    <div class="title-subtitle">
      {{ title .direction }} in Series
      <div class="title">{{ partial "nameinseries.html" (dict "page" .page) }}</div>
    </div>
    {{ if eq .direction "next" }}{{ partial "icon.html" "chevrons-right" }}{{ end }}
  </a>
</div>
