mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-22 05:00:39 +00:00
adjust template formatting
This commit is contained in:
parent
d87aa28f47
commit
6362bcdee5
@ -4,16 +4,18 @@
|
|||||||
<nav class="gblog-paging flex flex-even align-center" role="navigation">
|
<nav class="gblog-paging flex flex-even align-center" role="navigation">
|
||||||
<div class="gblog-paging__item gblog-paging__item--prev">
|
<div class="gblog-paging__item gblog-paging__item--prev">
|
||||||
{{ if $pag.HasPrev }}
|
{{ if $pag.HasPrev }}
|
||||||
<a class="flex-inline align-center fake-link no-wrap" href="{{ $pag.Prev.URL }}"
|
<a class="flex-inline align-center fake-link no-wrap" href="{{ $pag.Prev.URL }}">
|
||||||
><i class="gblog-icon">gblog_keyboard_arrow_left</i>PREV</a
|
<i class="gblog-icon">gblog_keyboard_arrow_left</i>
|
||||||
>
|
PREV
|
||||||
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
<div class="gblog-paging__state">Page {{ $pag.PageNumber }} of {{ $pag.TotalPages }}</div>
|
<div class="gblog-paging__state">Page {{ $pag.PageNumber }} of {{ $pag.TotalPages }}</div>
|
||||||
<div class="gblog-paging__item gblog-paging__item--next">
|
<div class="gblog-paging__item gblog-paging__item--next">
|
||||||
{{ if $pag.HasNext }}
|
{{ if $pag.HasNext }}
|
||||||
<a class="flex-inline align-center fake-link no-wrap" href="{{ $pag.Next.URL }}">
|
<a class="flex-inline align-center fake-link no-wrap" href="{{ $pag.Next.URL }}">
|
||||||
NEXT<i class="gblog-icon">gblog_keyboard_arrow_right</i>
|
NEXT
|
||||||
|
<i class="gblog-icon">gblog_keyboard_arrow_right</i>
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user