forked from Fediversity/Fediversity
add note
This commit is contained in:
parent
ad8b758cee
commit
822ff6c1b4
|
@ -31,6 +31,7 @@ in
|
||||||
# TODO: reconsider using `page.outPath` and what to put into `locations`.
|
# TODO: reconsider using `page.outPath` and what to put into `locations`.
|
||||||
# maybe we can avoid having ".html" suffixes there.
|
# maybe we can avoid having ".html" suffixes there.
|
||||||
# since templates can output multiple files, `html` is merely one of many things we *could* produce.
|
# 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 {
|
${page.outPath} = builtins.toFile "${page.name}.html" (templates.html {
|
||||||
head = ''
|
head = ''
|
||||||
<title>${page.title}</title>
|
<title>${page.title}</title>
|
||||||
|
|
Loading…
Reference in a new issue