mirror of
https://github.com/PrivSec-dev/privsec.dev.git
synced 2024-12-26 15:59:39 -05:00
Fix navbar prev/next links (#23)
This commit is contained in:
parent
b7f8b4e856
commit
00241b9687
8
assets/css/extended/custom.css
Normal file
8
assets/css/extended/custom.css
Normal file
@ -0,0 +1,8 @@
|
||||
.paginav {
|
||||
background: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.paginav a:hover {
|
||||
background: none;
|
||||
}
|
@ -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 . ) }}
|
||||
<nav class="paginav">
|
||||
{{- with $pages.Next . }}
|
||||
|
Loading…
Reference in New Issue
Block a user