blog.minskio.co.uk

Content and theme behind minskio.co.uk
Log | Files | Refs

commit a9f2d267944126d23bdc85c7602b1ae58d3382a5
parent 1e64c660d024e04869845e143bee4cc5ea9b2aa2
Author: breadcat <peter@minskio.co.uk>
Date:   Sun, 28 Jun 2020 13:11:41 +0100

Remove and adjust uneccesary class

Diffstat:
Mthemes/Brine/layouts/_default/baseof.html | 2+-
Mthemes/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 @@ -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 @@ -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