some more stuff

This commit is contained in:
dusk 2023-04-06 06:29:22 +03:00
parent f3904cdd4f
commit 4dc070f01a
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA

View File

@ -124,7 +124,7 @@
content = ctx.indexContent or postsSectionContent; content = ctx.indexContent or postsSectionContent;
}; };
in { in {
inherit stylesheets mkPage stylesheet; inherit ctx stylesheets mkPage stylesheet postsSectionContent;
site = site =
ctx.site ctx.site
@ -135,7 +135,7 @@
titleStr = "posts - ${ctx.config.title}"; titleStr = "posts - ${ctx.config.title}";
}; };
"404.html" = mkPage { "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}"; titleStr = "page not found - ${ctx.config.title}";
}; };
"site.css" = stylesheet; "site.css" = stylesheet;