From 6c551a0f90304dfd47fb7a37014e25358f24c35a Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Mon, 17 May 2021 02:11:37 +0300 Subject: [PATCH] feat: drop html --- templaters/basic.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templaters/basic.nix b/templaters/basic.nix index 61bf6c4..7491bb5 100644 --- a/templaters/basic.nix +++ b/templaters/basic.nix @@ -22,8 +22,8 @@ let pagesSection = (map - (name: tags.div { class = "pure-u-1"; } (tags.a { href = "${baseurl}/${name}.html"; class = "postheader"; } name)) - (mapAttrsToList (name: _: name) pages)) ++ [ (tags.div { class = "pure-u-1"; } (tags.a { href = "${baseurl}/index.html"; class = "postheader"; } "posts")) ]; + (name: tags.div { class = "pure-u-1"; } (tags.a { href = "${baseurl}/${name}"; class = "postheader"; } name)) + (mapAttrsToList (name: _: name) pages)) ++ [ (tags.div { class = "pure-u-1"; } (tags.a { href = "${baseurl}"; class = "postheader"; } "posts")) ]; postsSectionContent = with tags; [ (a { href = "#posts"; class = "postheader"; } (h1 "# posts"))