mirror of https://github.com/onweru/compose.git

weru
07.03.2020 edc5b599c03d8ebae03d4137bf0be8db18df77cb
update pager
1 files modified
4 ■■■■ changed files
layouts/partials/document.html 4 ●●●● patch | view | raw | blame | history
layouts/partials/document.html
@@ -5,10 +5,10 @@
  <div class="content">
    {{- .Content }}
    <div class="pager">
      {{- with .Prev }}
      {{- with .Next }}
      <a href="{{ .Permalink }}" id="prev">{{ .Title }}</a>
      {{ end }}
      {{- with .Next }}
      {{- with .Prev }}
      <a href="{{ .Permalink }}" id="next">{{ .Title }}</a>
      {{- end }}
    </div>