From e4f6674ca83eb9405a96d0a7a27dafcf0bc78fd4 Mon Sep 17 00:00:00 2001 From: sashinexists Date: Sat, 7 Dec 2024 12:55:37 +1100 Subject: [PATCH] various fixes and small changes --- src/data/pages/about.ori.md | 12 ++++++++++-- src/data/pages/now.ori.md | 3 ++- src/data/pages/subscribe.ori.md | 3 ++- src/data/pages/support.ori.md | 9 +++++++-- src/site.ori | 2 +- src/templates/partials/navigation.ori.html | 6 +++--- src/templates/partials/view-card.ori.html | 2 +- src/views.ori | 2 +- 8 files changed, 27 insertions(+), 12 deletions(-) diff --git a/src/data/pages/about.ori.md b/src/data/pages/about.ori.md index 8234f21..49d2fa2 100644 --- a/src/data/pages/about.ori.md +++ b/src/data/pages/about.ori.md @@ -1,5 +1,13 @@ --- title: About --- -arstarstarstarst -why isn't this working +I am interested in two things: + +- How the world works +- How we can make it better + +My mission is to develop a deep understanding of how our world works — economically, politically, historically — and write to make it common knowledge. + +I write wanting to address the problems in the world that keep us trapped in cycles of suffering. + +I want to write a better world. diff --git a/src/data/pages/now.ori.md b/src/data/pages/now.ori.md index f3cfe2e..722b11a 100644 --- a/src/data/pages/now.ori.md +++ b/src/data/pages/now.ori.md @@ -1,4 +1,5 @@ --- title: Now --- -This is where the now page will be +Now page will be here, along with a link to view previous now pages +- you should write up a new now page diff --git a/src/data/pages/subscribe.ori.md b/src/data/pages/subscribe.ori.md index 05977e0..a8f3fb9 100644 --- a/src/data/pages/subscribe.ori.md +++ b/src/data/pages/subscribe.ori.md @@ -1,4 +1,5 @@ --- title: Subscribe --- -It's too early +- to do: + - move your mailing list from digital ocean to a different platform diff --git a/src/data/pages/support.ori.md b/src/data/pages/support.ori.md index 22f0b98..5a268ef 100644 --- a/src/data/pages/support.ori.md +++ b/src/data/pages/support.ori.md @@ -1,5 +1,10 @@ --- title: Support --- -pls support me, I need sustainance -### be here now +The support page will be here. + +You will explain what you are trying to do, what you need, what you will do with the money. + +You'll create an open collective page and link it. + +Maybe also use liberapay diff --git a/src/site.ori b/src/site.ori index 1751ac2..949c016 100644 --- a/src/site.ori +++ b/src/site.ori @@ -3,7 +3,7 @@ templates index.html = templates/default.ori.html("Welcome to the index page!") views = (views.ori/) - map(data/pages, page.ori) + ...map(data/pages, page.ori) favicon.ico // ...map(data/pages, (page)=>templates/default.ori.html(templates/partials/article.ori.html/(page/()))) } diff --git a/src/templates/partials/navigation.ori.html b/src/templates/partials/navigation.ori.html index e91727e..dc7e6b1 100644 --- a/src/templates/partials/navigation.ori.html +++ b/src/templates/partials/navigation.ori.html @@ -1,9 +1,9 @@ \ No newline at end of file diff --git a/src/templates/partials/view-card.ori.html b/src/templates/partials/view-card.ori.html index a2236c6..b5559da 100644 --- a/src/templates/partials/view-card.ori.html +++ b/src/templates/partials/view-card.ori.html @@ -1,3 +1,3 @@ - + ${ _/title } \ No newline at end of file diff --git a/src/views.ori b/src/views.ori index 56f6c8a..802a32c 100644 --- a/src/views.ori +++ b/src/views.ori @@ -1,4 +1,4 @@ { index.html = templates/default.ori.html(templates/partials/view-cards.ori.html(data/views)) - ...map(data/views, (view)=>templates/default.ori.html(templates/partials/article.ori.html(view))) + ...map(map(data/views, (view)=>templates/default.ori.html(templates/partials/article.ori.html(view))), {extension: '.md->'}) }