From 4dc070f01aa86a6eed4e5d3d5e068e5874aab4f5 Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Thu, 6 Apr 2023 06:29:22 +0300 Subject: [PATCH] some more stuff --- templaters/simple/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templaters/simple/default.nix b/templaters/simple/default.nix index 8e58301..096ecfb 100644 --- a/templaters/simple/default.nix +++ b/templaters/simple/default.nix @@ -124,7 +124,7 @@ content = ctx.indexContent or postsSectionContent; }; in { - inherit stylesheets mkPage stylesheet; + inherit ctx stylesheets mkPage stylesheet postsSectionContent; site = ctx.site @@ -135,7 +135,7 @@ titleStr = "posts - ${ctx.config.title}"; }; "404.html" = mkPage { - content = html.h1 {class = "nohashtag";} "page not found"; + content = html.h1 {class = "nohashtag";} "404 - page not found"; titleStr = "page not found - ${ctx.config.title}"; }; "site.css" = stylesheet;