currently getting a not found error, showing it to Jan

This commit is contained in:
sashinexists
2024-12-07 12:33:08 +11:00
parent bbc3f19c83
commit 8d4e430428
2 changed files with 10 additions and 2 deletions

8
src/page.ori Normal file
View File

@@ -0,0 +1,8 @@
(page) =>
templates/default.ori.html(
templates/partials/article.ori.html(
md.handler/unpack(
page/()
)
)
)

View File

@@ -3,7 +3,7 @@
templates
index.html = templates/default.ori.html("Welcome to the index page!")
views = (views.ori/)
map(data/pages, page.ori)
favicon.ico
...map(data/pages, (page)=>templates/default.ori.html(templates/partials/article.ori.html/(page/())))
// ...map(data/pages, (page)=>templates/default.ori.html(templates/partials/article.ori.html/(page/())))
}