From b0f7fd93dad63102eda5c1ddc5295e2e0e29536c Mon Sep 17 00:00:00 2001 From: Scott Nath Date: Fri, 26 Apr 2024 15:36:20 -0400 Subject: [PATCH] :crystal_ball: trying to get indexnow workin --- .github/workflows/IndexNow.yml | 4 +--- workspaces/website/src/components/BaseHead.astro | 2 +- workspaces/website/src/pages/404.astro | 2 +- workspaces/website/src/pages/robots.txt.ts | 2 +- .../src/pages/{sitemap-index.xml.ts => sitemap.xml.ts} | 0 5 files changed, 4 insertions(+), 6 deletions(-) rename workspaces/website/src/pages/{sitemap-index.xml.ts => sitemap.xml.ts} (100%) diff --git a/.github/workflows/IndexNow.yml b/.github/workflows/IndexNow.yml index af32d66..c008469 100644 --- a/.github/workflows/IndexNow.yml +++ b/.github/workflows/IndexNow.yml @@ -11,7 +11,5 @@ jobs: - name: indexnow-action uses: bojieyang/indexnow-action@v2 with: - sitemap-location: 'https://scottnath.com/sitemap-index.xml' - since: 1 - since-unit: "year" + sitemap-location: 'https://scottnath.com/sitemap.xml' key: ${{ secrets.INDEXNOW_KEY }} \ No newline at end of file diff --git a/workspaces/website/src/components/BaseHead.astro b/workspaces/website/src/components/BaseHead.astro index f633018..6412490 100644 --- a/workspaces/website/src/components/BaseHead.astro +++ b/workspaces/website/src/components/BaseHead.astro @@ -20,7 +20,7 @@ const { title, description, image = PROFILE_PIC } = Astro.props; - + diff --git a/workspaces/website/src/pages/404.astro b/workspaces/website/src/pages/404.astro index 158ff59..1f54398 100644 --- a/workspaces/website/src/pages/404.astro +++ b/workspaces/website/src/pages/404.astro @@ -18,7 +18,7 @@ const posts = (await getCollection('blahg')).sort(
  • Home page of scottnath.com
  • The Scott Nath About page
  • Resume for Scott Nath, {SITE_SUBTITLE}
  • -
  • Sitemap: scottnath.com/sitemap-index.xml
  • +
  • Sitemap: scottnath.com/sitemap.xml
  • {BLAHG.title}