This commit is contained in:
dusk 2022-07-30 08:40:25 +03:00
parent 18fa28319f
commit 5bca7064e4
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA

View File

@ -22,8 +22,8 @@ let
pagesSection =
(map
(name: tags.div { class = "pure-u-1"; } (tags.a { href = "${baseurl}/${name}"; class = "pagelink"; } name))
(mapAttrsToList (name: _: name) pages)) ++ [ (tags.div { class = "pure-u-1"; } (tags.a { href = "${baseurl}"; class = "pagelink"; } "posts")) ];
(name: tags.div { class = "pure-u-1"; } (tags.a { href = "${baseurl}/${name}/"; class = "pagelink"; } name))
(mapAttrsToList (name: _: name) pages)) ++ [ (tags.div { class = "pure-u-1"; } (tags.a { href = "${baseurl}/"; class = "pagelink"; } "posts")) ];
postsSectionContent = with tags; [
(a { href = "#posts"; class = "postheader"; } (h1 "posts"))