From f0f9f2c1bb780a1319cae0cdf136b479c36e21bb Mon Sep 17 00:00:00 2001 From: Tracey Jaquith Date: Mon, 8 Jul 2024 20:36:09 -0400 Subject: [PATCH] fixes, simplifies --- .github/workflows/blogtini.yml | 3 +- bin/sitemap | 4 ++- index.xml | 60 ---------------------------------- robots.txt | 1 - 4 files changed, 5 insertions(+), 63 deletions(-) delete mode 100644 index.xml delete mode 100644 robots.txt diff --git a/.github/workflows/blogtini.yml b/.github/workflows/blogtini.yml index 901354c..5b5b5f0 100644 --- a/.github/workflows/blogtini.yml +++ b/.github/workflows/blogtini.yml @@ -57,8 +57,9 @@ jobs: export PATH="$DENO_INSTALL/bin:$PATH" # get files & dir layout set up - mkdir -p bin + mkdir -p bin js mv _blogtini/bin/* bin/ + mv _blogtini/js/blogtini.js js/ rm -rf _blogtini # setup SEO headers and create sitemap diff --git a/bin/sitemap b/bin/sitemap index be903c6..2fed6a9 100755 --- a/bin/sitemap +++ b/bin/sitemap @@ -31,7 +31,9 @@ function sitemap() { echo '' >> $OUTFILE - echo "Sitemap: $PREFIX/sitemap.xml" >| robots.txt + if [ ! -e robots.txt ]; then + echo "Sitemap: $PREFIX/sitemap.xml" >| robots.txt + fi echo } diff --git a/index.xml b/index.xml deleted file mode 100644 index 0f823b3..0000000 --- a/index.xml +++ /dev/null @@ -1,60 +0,0 @@ - - - - Blogtini - https://blogtini.com/ - Recent content in Blogtini - Sun, 07 Jul 2024 23:43:44 -0400 - - blogtini.com - - - About the Pooh - https://blogtini.com/about/ - https://blogtini.com/about/ - Mon, 16 Mar 2009 00:00:00 -0400 - - - - - Blogtini SEO - https://blogtini.com/2024-07-blogtini-seo/ - https://blogtini.com/2024-07-blogtini-seo/ - Sat, 06 Jul 2024 00:00:00 -0400 - - - - - Blogtini Themes and Web Components - Update - https://blogtini.com/2023-06-blogtini-themes-and-web-components-updates/ - https://blogtini.com/2023-06-blogtini-themes-and-web-components-updates/ - Thu, 15 Jun 2023 00:00:00 -0400 - - - - - Blogtini @ DWebCamp - https://blogtini.com/2023-06-blogtini-dwebcamp/ - https://blogtini.com/2023-06-blogtini-dwebcamp/ - Fri, 23 Jun 2023 00:00:00 -0400 - - - - - Blogtini @ DWebCamp - https://blogtini.com/2022-08-blogtini-dwebcamp/ - https://blogtini.com/2022-08-blogtini-dwebcamp/ - Fri, 26 Aug 2022 00:00:00 -0400 - - - - - blogtini update - https://blogtini.com/2022-07-blogtini-update/ - https://blogtini.com/2022-07-blogtini-update/ - Mon, 25 Jul 2022 00:00:00 -0400 - - - - - diff --git a/robots.txt b/robots.txt deleted file mode 100644 index 44d8cea..0000000 --- a/robots.txt +++ /dev/null @@ -1 +0,0 @@ -Sitemap: https://blogtini.com/sitemap.xml