Skip to content

Commit

Permalink
fixes, simplifies
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Jul 9, 2024
1 parent 55c7161 commit f0f9f2c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 63 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/blogtini.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion bin/sitemap
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ function sitemap() {
echo '</urlset>' >> $OUTFILE


echo "Sitemap: $PREFIX/sitemap.xml" >| robots.txt
if [ ! -e robots.txt ]; then
echo "Sitemap: $PREFIX/sitemap.xml" >| robots.txt
fi
echo
}

Expand Down
60 changes: 0 additions & 60 deletions index.xml

This file was deleted.

1 change: 0 additions & 1 deletion robots.txt

This file was deleted.

0 comments on commit f0f9f2c

Please sign in to comment.