Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wlh320/hugo-theme-hulga.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzilch40 <wlh233@live.com>2020-11-16 15:31:39 +0300
committerzilch40 <wlh233@live.com>2020-11-16 15:31:39 +0300
commit871470c4cd13a02e947680864574a84eae246cf0 (patch)
tree8414d26b020681fa0b05384c28bccc08d69e4e4b /layouts/partials/paginator.html
parent88fb497815279a64bbfe38e7cdd1676a2b683b77 (diff)
add PWA support && tweak some pages
Diffstat (limited to 'layouts/partials/paginator.html')
-rw-r--r--layouts/partials/paginator.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/paginator.html b/layouts/partials/paginator.html
index f311349..934596d 100644
--- a/layouts/partials/paginator.html
+++ b/layouts/partials/paginator.html
@@ -1,7 +1,7 @@
{{ $pag := .Paginate (where .Data.Pages "Type" "post") }}
{{ if gt $pag.TotalPages 1 -}}
<nav class="pagination is-centered" role="navigation" aria-label="pagination">
- <a class="pagination-previous" {{ if $pag.HasPrev }} href="{{ $pag.Prev.URL }}" {{ else }} disabled {{ end }}>
+ <a class="pagination-previous" {{ if $pag.HasPrev }} href="{{ $pag.Prev.URL }}" {{ else }} href="#" disabled {{ end }}>
{{ i18n "prev_page"}}
</a>
<ul class="pagination-list">
@@ -29,7 +29,7 @@
{{- end -}}
{{- end }}
</ul>
- <a class="pagination-next" {{ if $pag.HasNext }} href="{{ $pag.Next.URL }}" {{ else }} disabled {{ end }}>
+ <a class="pagination-next" {{ if $pag.HasNext }} href="{{ $pag.Next.URL }}" {{ else }} href="#" disabled {{ end }}>
{{ i18n "next_page"}}
</a>
{{ end }}