Don't use private links when determining references
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 1m1s

This commit is contained in:
thepaperpilot 2024-06-15 11:10:46 -05:00
parent 88451639de
commit dda6a24ea0
8 changed files with 10 additions and 11 deletions

View file

@ -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`;

View file

@ -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.

View file

@ -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

View file

@ -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)

View file

@ -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.

View file

@ -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

View file

@ -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!

View file

@ -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 Im focused on at this point in my life. [What is a now page](https://nownownow.com/about)?
## Life