summaryrefslogtreecommitdiffstats
path: root/themes/Brine/layouts/partials/pagination.html
diff options
context:
space:
mode:
authorbreadcat2020-06-28 13:11:41 +0100
committerbreadcat2020-06-28 13:11:41 +0100
commita9f2d267944126d23bdc85c7602b1ae58d3382a5 (patch)
tree34b08546e3a806d3d411f9bf92a1b969e7049711 /themes/Brine/layouts/partials/pagination.html
parent1e64c660d024e04869845e143bee4cc5ea9b2aa2 (diff)
downloadblog.minskio.co.uk-a9f2d267944126d23bdc85c7602b1ae58d3382a5.tar.gz
blog.minskio.co.uk-a9f2d267944126d23bdc85c7602b1ae58d3382a5.tar.bz2
blog.minskio.co.uk-a9f2d267944126d23bdc85c7602b1ae58d3382a5.zip
Remove and adjust uneccesary class
Diffstat (limited to 'themes/Brine/layouts/partials/pagination.html')
-rw-r--r--themes/Brine/layouts/partials/pagination.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/Brine/layouts/partials/pagination.html b/themes/Brine/layouts/partials/pagination.html
index 1dc3648..f1b97a1 100644
--- a/themes/Brine/layouts/partials/pagination.html
+++ b/themes/Brine/layouts/partials/pagination.html
@@ -1,5 +1,5 @@
{{ with $.Paginator }}{{ if gt .TotalPages 1 }} <p class="pagination">
- {{ with .Prev }}<a class="page-link" href="{{ .URL }}">Previous</a></li>
- {{ end }}{{ range .Pagers }}<a class="page-link{{ if eq .PageNumber $.Paginator.PageNumber }} a{{ end }}" href="{{ .URL }}">{{ .PageNumber }}</a>
- {{ end }}{{ with .Next }}<a class="page-link" href="{{ .URL }}">Next</a>{{ end }}
+ {{ with .Prev }}<a href="{{ .URL }}">Previous</a></li>
+ {{ end }}{{ range .Pagers }}<a{{ if eq .PageNumber $.Paginator.PageNumber }} class="active"{{ end }} href="{{ .URL }}">{{ .PageNumber }}</a>
+ {{ end }}{{ with .Next }}<a href="{{ .URL }}">Next</a>{{ end }}
</p>{{ end }}{{ end }} \ No newline at end of file