diff --git a/my-patterns/README.md b/my-patterns/README.md index 63d2b3f4..f504d328 100644 --- a/my-patterns/README.md +++ b/my-patterns/README.md @@ -11,5 +11,6 @@ This directory can be used to save your own patterns. 1. in your fork, go to settings -> pages and select "Github Actions" as source 2. edit `website/public/CNAME` to contain `.github.io/strudel` -3. go to Actions -> "Build and Deploy" and click "Run workflow" -4. view your patterns at `.github.io/strudel/my-patterns` +3. edit `website/astro.config.mjs` to use site: `.github.io/strudel` and base `/strudel` +4. go to Actions -> "Build and Deploy" and click "Run workflow" +5. view your patterns at `.github.io/strudel/my-patterns` diff --git a/website/astro.config.mjs b/website/astro.config.mjs index 83038fbc..6714f548 100644 --- a/website/astro.config.mjs +++ b/website/astro.config.mjs @@ -31,6 +31,7 @@ export default defineConfig({ tailwind(), ], site: `https://strudel.tidalcycles.org`, + base: '', }); /* diff --git a/website/src/pages/my-patterns/index.astro b/website/src/pages/my-patterns/index.astro index c73e2572..5c7d65ad 100644 --- a/website/src/pages/my-patterns/index.astro +++ b/website/src/pages/my-patterns/index.astro @@ -19,12 +19,12 @@ const myPatterns = await getMyPatterns(); Object.entries(myPatterns).map(([name, tune]) => (
{name}
- +
)) }