diff options
author | breadcat | 2020-06-28 13:11:41 +0100 |
---|---|---|
committer | breadcat | 2020-06-28 13:11:41 +0100 |
commit | a9f2d267944126d23bdc85c7602b1ae58d3382a5 (patch) | |
tree | 34b08546e3a806d3d411f9bf92a1b969e7049711 /themes | |
parent | 1e64c660d024e04869845e143bee4cc5ea9b2aa2 (diff) | |
download | blog.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')
-rw-r--r-- | themes/Brine/layouts/_default/baseof.html | 2 | ||||
-rw-r--r-- | themes/Brine/layouts/partials/pagination.html | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/themes/Brine/layouts/_default/baseof.html b/themes/Brine/layouts/_default/baseof.html index 20cf372..361f24b 100644 --- a/themes/Brine/layouts/_default/baseof.html +++ b/themes/Brine/layouts/_default/baseof.html @@ -6,7 +6,7 @@ <meta content="{{ .Site.Params.author | default "John Doe" }}" name="author" /> <meta content="width=device-width" name="viewport" /> <style> - a:hover,a.page-link.a{text-decoration:underline} + a:hover,a.active{text-decoration:underline} body{margin:0;word-wrap:break-word;font:calc(.75em + 1.3vmin)/1.6 "Segoe UI",Helvetica,Arial,sans-serif} h2{margin-top:40px} a{text-decoration:none;color:#03c} 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 |