diff --git a/build_garden.js b/build_garden.js index ddb837fd..4dad53ac 100644 --- a/build_garden.js +++ b/build_garden.js @@ -51,12 +51,17 @@ function toSlug(string) { // The logseq-export README made it sound like even the title property is transformed sometimes await walk("./Garden/pages", (dir, file, resolve) => { const filePath = path.resolve(dir, file); - const data = fs.readFileSync(filePath).toString(); + let data = fs.readFileSync(filePath).toString(); if (!data.match(/public::/g)) { resolve(); return; } + const startPrivate = data.indexOf("- private"); + if (startPrivate > 0) { + data = data.slice(0, startPrivate); + } + const name = path.basename(file, ".md").replaceAll('___', '/'); const slug = toSlug(name).replaceAll(/%3F/gi, '').replaceAll('\'', '-'); const link = `/garden/${slug}/index.md`; diff --git a/site/garden/chat-glue/index.md b/site/garden/chat-glue/index.md index 9f5b1146..c3e910b0 100644 --- a/site/garden/chat-glue/index.md +++ b/site/garden/chat-glue/index.md @@ -7,7 +7,7 @@ next: false --- # Chat Glue -> Referenced by: [Commune](/garden/commune/index.md), [My Personal Website](/garden/my-personal-website/index.md), [The Small Web](/garden/the-small-web/index.md) +> Referenced by: [Commune](/garden/commune/index.md), [The Small Web](/garden/the-small-web/index.md) A theoretical chat system designed to solve the problems of transcribing branching conversations into linear timelines. diff --git a/site/garden/commune/index.md b/site/garden/commune/index.md index eb2cfc50..87ba0ff6 100644 --- a/site/garden/commune/index.md +++ b/site/garden/commune/index.md @@ -7,7 +7,7 @@ next: false --- # Commune -> Referenced by: [Federated Identity](/garden/federated-identity/index.md), [Fedi v2](/garden/fedi-v2/index.md), [My Personal Website](/garden/my-personal-website/index.md), [/now](/now/index), [Webrings](/garden/webrings/index.md), [Weird](/garden/weird/index.md) +> Referenced by: [Federated Identity](/garden/federated-identity/index.md), [Fedi v2](/garden/fedi-v2/index.md), [/now](/now/index), [Webrings](/garden/webrings/index.md), [Weird](/garden/weird/index.md) An [Open Source](/garden/open-source/index.md) [Matrix](/garden/matrix/index.md) web client built to be better for communities than anything else out there - Currently in development diff --git a/site/garden/fedi-v2/index.md b/site/garden/fedi-v2/index.md index 8cab4c90..320f0672 100644 --- a/site/garden/fedi-v2/index.md +++ b/site/garden/fedi-v2/index.md @@ -7,7 +7,7 @@ next: false --- # Fedi v2 -> Referenced by: [Social Media](/garden/social-media/index.md), [The IndieWeb/Signature Blocks](/garden/the-indieweb/signature-blocks/index.md), [Weird](/garden/weird/index.md) +> Referenced by: [Social Media](/garden/social-media/index.md), [Weird](/garden/weird/index.md) A placeholder name for a theoretical new federated network that is client-centric, in contrast to the server-centric [Fediverse](/garden/fediverse/index.md) diff --git a/site/garden/guide-to-incrementals/index.md b/site/garden/guide-to-incrementals/index.md index 862bd712..a0fe55db 100644 --- a/site/garden/guide-to-incrementals/index.md +++ b/site/garden/guide-to-incrementals/index.md @@ -7,8 +7,6 @@ next: false --- # Guide to Incrementals -> Referenced by: [My Personal Website](/garden/my-personal-website/index.md) - This is a comprehensive guide to Incremental Games, a genre of video games. It will explore defining the genre, why it's appealing, and how to design and build your own incremental game. Along the way will be ~~interactive examples~~, snippets from other creators, and relevant material to contextualize everything. > Note: This is an incomplete document. I want to keep adding opinions and opposing views from other incremental games developers, and add interactive examples to illustrate various points regarding game design and balancing. Consider this a living document - and see the changelog at the end. diff --git a/site/garden/my-personal-website/index.md b/site/garden/my-personal-website/index.md index 1f466460..91f3d0ba 100644 --- a/site/garden/my-personal-website/index.md +++ b/site/garden/my-personal-website/index.md @@ -7,6 +7,6 @@ next: false --- # My Personal Website -> Referenced by: [My Personal Website](/garden/my-personal-website/index.md), [The Small Web](/garden/the-small-web/index.md) +> Referenced by: [The Small Web](/garden/the-small-web/index.md) A [Personal Websites](/garden/the-small-web/index.md) for myself, available at https://thepaperpilot.org diff --git a/site/garden/my-projects/index.md b/site/garden/my-projects/index.md index 99e2eba9..eb0f4c1e 100644 --- a/site/garden/my-projects/index.md +++ b/site/garden/my-projects/index.md @@ -8,8 +8,6 @@ next: false --- # My Projects -> Referenced by: [My Personal Website](/garden/my-personal-website/index.md) - > Tagged by: [Advent Incremental](/garden/advent-incremental/index.md), [Babble Buds](/garden/babble-buds/index.md), [Capture the Citadel](/garden/capture-the-citadel/index.md), [Dice Armor](/garden/dice-armor/index.md), [Game Dev Tree](/garden/game-dev-tree/index.md), [Incremental Social](/garden/incremental-social/index.md), [Kronos](/garden/kronos/index.md), [Opti-Speech](/garden/opti-speech/index.md), [Planar Pioneers](/garden/planar-pioneers/index.md), [Profectus](/garden/profectus/index.md), [V-ecs](/garden/v-ecs/index.md) I like making games and tools! diff --git a/site/now/index.md b/site/now/index.md index 1e4c8f8f..bd611862 100644 --- a/site/now/index.md +++ b/site/now/index.md @@ -7,8 +7,6 @@ next: false --- # /now -> Referenced by: [My Personal Website](/garden/my-personal-website/index.md) - This "now page" offers a big picture glimpse into what I’m focused on at this point in my life. [What is a now page](https://nownownow.com/about)? ## Life