diff options
Diffstat (limited to 'themes/Brine/layouts')
-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 |