Skip to content

Commit

Permalink
增加 sitemap 到发布中
Browse files Browse the repository at this point in the history
  • Loading branch information
zhzLuke96 committed May 29, 2024
1 parent 785810a commit c7fe593
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
21 changes: 21 additions & 0 deletions pages/sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.stablecanvas.com/</loc>
<lastmod>2024-05-29</lastmod>
<changefreq>weekly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://docs.stablecanvas.com/</loc>
<lastmod>2024-05-29</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
<url>
<loc>https://studio.stablecanvas.com/</loc>
<lastmod>2024-05-29</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
</urlset>
2 changes: 2 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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!"

0 comments on commit c7fe593

Please sign in to comment.