diff --git a/templaters/simple/default.nix b/templaters/simple/default.nix index 096ecfb..04581f8 100644 --- a/templaters/simple/default.nix +++ b/templaters/simple/default.nix @@ -57,6 +57,13 @@ class = "novisited"; } "home") ] + ++ l.optionals (l.length ctx.posts > 0) [ + " " + (a { + href = "${ctx.baseurl}/posts"; + class = "novisited"; + } "posts") + ] ++ ( l.map (