From 1798be104778606ad17ec9bb01e3cb7e63b9daf8 Mon Sep 17 00:00:00 2001 From: Wayne Sutton Date: Mon, 22 Dec 2025 01:58:11 -0800 Subject: [PATCH] fix: use correct excluded_paths syntax for Netlify edge functions --- content/blog/how-to-publish.md | 8 ++++---- netlify.toml | 2 +- public/raw/how-to-publish.md | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/content/blog/how-to-publish.md b/content/blog/how-to-publish.md index 85fcb98..6fe18b0 100644 --- a/content/blog/how-to-publish.md +++ b/content/blog/how-to-publish.md @@ -4,7 +4,7 @@ description: "A quick guide to writing and publishing markdown posts using Curso date: "2025-12-14" slug: "how-to-publish" published: true -tags: ["tutorial", "markdown", "cursor", "publishing"] +tags: ["tutorial", "markdown", "cursor", "IDE", "publishing"] readTime: "3 min read" featured: true featuredOrder: 3 @@ -18,7 +18,7 @@ excerpt: "Quick guide to writing and publishing markdown posts with npm run sync ![nature](/images/matthew-smith-Rfflri94rs8-unsplash.jpg) -Your blog is set up. Now you want to publish. This guide walks through writing a markdown post and syncing it to your live site using Cursor. +Your blog is set up. Now you want to publish. This guide walks through writing a markdown post and syncing it to your live site using Cursor or your favorite IDE. ## Use the Write Page @@ -123,7 +123,7 @@ Wrap up your thoughts. ## Sync to Convex -Open Cursor's terminal and run: +Open Cursor's or your dev terminal and run: ```bash npm run sync @@ -175,7 +175,7 @@ Here is the full workflow: 1. **Create file**: `content/blog/my-post.md` 2. **Add frontmatter**: Title, description, date, slug, published, tags 3. **Write content**: Markdown with headings, lists, code blocks -4. **Sync**: Run `npm run sync` in developmnet and `npm run sync:prod` in production in terminal +4. **Sync**: Run `npm run sync` in development and `npm run sync:prod` in production in terminal 5. **View**: Open your site and navigate to `/your-slug` ## Tips diff --git a/netlify.toml b/netlify.toml index 6048601..ae87042 100644 --- a/netlify.toml +++ b/netlify.toml @@ -48,7 +48,7 @@ [[edge_functions]] path = "/*" function = "botMeta" - excludedPath = ["/raw/*", "/api/*", "/*.xml", "/*.txt", "/*.yaml", "/*.json", "/*.md"] + excluded_paths = ["/raw/*", "/api/*", "/**/*.md", "/**/*.xml", "/**/*.txt", "/**/*.yaml", "/**/*.json"] # Security and SEO headers [[headers]] diff --git a/public/raw/how-to-publish.md b/public/raw/how-to-publish.md index 1590c85..9712f13 100644 --- a/public/raw/how-to-publish.md +++ b/public/raw/how-to-publish.md @@ -6,14 +6,14 @@ Type: post Date: 2025-12-14 Reading time: 3 min read -Tags: tutorial, markdown, cursor, publishing +Tags: tutorial, markdown, cursor, IDE, publishing --- # How to Publish a Blog Post ![nature](/images/matthew-smith-Rfflri94rs8-unsplash.jpg) -Your blog is set up. Now you want to publish. This guide walks through writing a markdown post and syncing it to your live site using Cursor. +Your blog is set up. Now you want to publish. This guide walks through writing a markdown post and syncing it to your live site using Cursor or your favorite IDE. ## Use the Write Page @@ -118,7 +118,7 @@ Wrap up your thoughts. ## Sync to Convex -Open Cursor's terminal and run: +Open Cursor's or your dev terminal and run: ```bash npm run sync @@ -170,7 +170,7 @@ Here is the full workflow: 1. **Create file**: `content/blog/my-post.md` 2. **Add frontmatter**: Title, description, date, slug, published, tags 3. **Write content**: Markdown with headings, lists, code blocks -4. **Sync**: Run `npm run sync` in developmnet and `npm run sync:prod` in production in terminal +4. **Sync**: Run `npm run sync` in development and `npm run sync:prod` in production in terminal 5. **View**: Open your site and navigate to `/your-slug` ## Tips