diff --git a/assets/sass/sketch.scss b/assets/sass/sketch.scss index f17831e..17abfa1 100644 --- a/assets/sass/sketch.scss +++ b/assets/sass/sketch.scss @@ -164,6 +164,14 @@ margin-left: 1em; } + .ml-2 { + margin-left: 2em; + } + + .mr-2 { + margin-right: 2em; + } + .mw-6 { min-width: 6em; } diff --git a/layouts/partials/paginator.html b/layouts/partials/paginator.html index 64c9e61..08b3ab2 100644 --- a/layouts/partials/paginator.html +++ b/layouts/partials/paginator.html @@ -1,10 +1,16 @@ {{ $page := $.Paginator }} {{ if gt $page.TotalPages 1 }}
- {{ if $page.HasNext }} - Older → + {{ if $page.HasPrev }} + ← Newer {{ else }} - ← Newer + ← Newer + {{ end }} + + {{ if $page.HasNext }} + Older → + {{ else }} + Older → {{ end }}
-{{ end }} \ No newline at end of file +{{ end }}