diff --git a/assets/css/extended/custom.css b/assets/css/extended/custom.css new file mode 100644 index 0000000..47db37e --- /dev/null +++ b/assets/css/extended/custom.css @@ -0,0 +1,8 @@ +.paginav { + background: none; + border: none; +} + +.paginav a:hover { + background: none; +} \ No newline at end of file diff --git a/layouts/partials/post_nav_links.html b/layouts/partials/post_nav_links.html index eb7f2b9..d814d60 100644 --- a/layouts/partials/post_nav_links.html +++ b/layouts/partials/post_nav_links.html @@ -1,4 +1,4 @@ -{{- $pages := where site.RegularPages.ByTitle "Type" "in" site.Params.mainSections }} +{{- $pages := .CurrentSection.RegularPages.ByTitle }} {{- if and (gt (len $pages) 1) (in $pages . ) }}