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