add posts nav bar item

This commit is contained in:
dusk 2023-04-06 07:04:05 +03:00
parent cd8c1a8e5d
commit 9c6c7d39dc
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA

View File

@ -57,6 +57,13 @@
class = "novisited"; class = "novisited";
} "home") } "home")
] ]
++ l.optionals (l.length ctx.posts > 0) [
" "
(a {
href = "${ctx.baseurl}/posts";
class = "novisited";
} "posts")
]
++ ( ++ (
l.map l.map
( (