currently getting a not found error, showing it to Jan
This commit is contained in:
8
src/page.ori
Normal file
8
src/page.ori
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
(page) =>
|
||||||
|
templates/default.ori.html(
|
||||||
|
templates/partials/article.ori.html(
|
||||||
|
md.handler/unpack(
|
||||||
|
page/()
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
templates
|
templates
|
||||||
index.html = templates/default.ori.html("Welcome to the index page!")
|
index.html = templates/default.ori.html("Welcome to the index page!")
|
||||||
views = (views.ori/)
|
views = (views.ori/)
|
||||||
|
map(data/pages, page.ori)
|
||||||
favicon.ico
|
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/())))
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user