From c7fe593c5c59e31589381217fc2f4282c169e700 Mon Sep 17 00:00:00 2001 From: zhzluke96 Date: Wed, 29 May 2024 15:11:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20sitemap=20=E5=88=B0?= =?UTF-8?q?=E5=8F=91=E5=B8=83=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/sitemap.xml | 21 +++++++++++++++++++++ scripts/build.sh | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pages/sitemap.xml diff --git a/pages/sitemap.xml b/pages/sitemap.xml new file mode 100644 index 0000000..a4d9252 --- /dev/null +++ b/pages/sitemap.xml @@ -0,0 +1,21 @@ + + + + https://www.stablecanvas.com/ + 2024-05-29 + weekly + 1.0 + + + https://docs.stablecanvas.com/ + 2024-05-29 + weekly + 0.8 + + + https://studio.stablecanvas.com/ + 2024-05-29 + weekly + 0.8 + + \ No newline at end of file diff --git a/scripts/build.sh b/scripts/build.sh index 61fad42..a559787 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -20,6 +20,7 @@ if [ ! -d "./dist" ]; then mkdir dist fi node $HTML_MINIFY index.html ./dist/index.html +cp ../sitemap.xml ./dist/sitemap.xml # build landing cd $WORKDIR/pages/landing @@ -29,5 +30,6 @@ fi node $HTML_MINIFY index.html ./dist/index.html cp og-image.jpg ./dist/og-image.jpg cp twitter-card-image.jpg ./dist/twitter-card-image.jpg +cp ../sitemap.xml ./dist/sitemap.xml echo "Build done!"