mirror of
https://github.com/PrivSec-dev/privsec.dev.git
synced 2025-05-03 14:55:11 -04:00
Fix navbar prev/next links (#23)
This commit is contained in:
parent
b7f8b4e856
commit
00241b9687
2 changed files with 9 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue