This commit is contained in:
Valentin Gagarin 2024-10-14 13:54:42 +02:00
parent 2e2bf6307b
commit e962f92db8

View file

@ -31,6 +31,7 @@ in
# TODO: reconsider using `page.outPath` and what to put into `locations`.
# maybe we can avoid having ".html" suffixes there.
# since templates can output multiple files, `html` is merely one of many things we *could* produce.
# TODO: maybe it would even make sense to split routing and rendering altogether
${page.outPath} = builtins.toFile "${page.name}.html" (templates.html {
head = ''
<title>${page.title}</title>