From c6a52c78fdcd3e39b0ce4cf2a36f7732d7a034ac Mon Sep 17 00:00:00 2001 From: brutsalvadi Date: Thu, 23 Apr 2026 22:15:20 +0200 Subject: [PATCH] Remove symlink setup from dev.sh; content.config.ts uses real paths --- scripts/dev.sh | 15 +-------------- site | 2 +- 2 files changed, 2 insertions(+), 15 deletions(-) diff --git a/scripts/dev.sh b/scripts/dev.sh index 019e4ee..57a7c99 100755 --- a/scripts/dev.sh +++ b/scripts/dev.sh @@ -5,22 +5,9 @@ set -e cd "$(dirname "$0")/.." ROOT="$(pwd)" -# Symlink wiki pages and stories into the site's content collections +# Ensure content directories exist at repo root mkdir -p pages stories -mkdir -p site/src/content/entries -LINK="$ROOT/site/src/content/entries/_wiki" -if [ ! -L "$LINK" ]; then - ln -sf "$ROOT/pages" "$LINK" - echo "Linked pages/ → site/src/content/entries/_wiki" -fi - -BLOG_LINK="$ROOT/site/src/content/blog" -if [ ! -L "$BLOG_LINK" ]; then - ln -sf "$ROOT/stories" "$BLOG_LINK" - echo "Linked stories/ → site/src/content/blog" -fi - # Start edit sidecar if requested if [[ "$*" == *"--edit"* ]]; then echo "Starting edit sidecar on :8001..." diff --git a/site b/site index 2ae7870..d4c159d 160000 --- a/site +++ b/site @@ -1 +1 @@ -Subproject commit 2ae78701c2a774cad61cdeaeb88fe58b469d0854 +Subproject commit d4c159dbe0f59a92d9f10c3b430d58af8054249f