Skip to content

Commit

Permalink
ah, duh, sitemap first, *then* SEO <head> insertions
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Jul 9, 2024
1 parent 4a936c9 commit ab68f8b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/blogtini.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ jobs:
export PATH="$DENO_INSTALL/bin:$PATH"
# setup SEO headers & create sitemap
./_blogtini/bin/ssr.sh
if [ ! -e sitemap.xml ]; then ./_blogtini/bin/sitemap; fi
./_blogtini/bin/ssr.sh
# cleanup, remove .git/ etc..
rm -rf _blogtini .[^.]*
Expand Down
2 changes: 1 addition & 1 deletion bin/sitemap
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function rss() { # xxx <description> using snippet??

for htm in $(list-posts); do
echo -n .
grep -EB100000 -m2 -- --- $htm | grep -Ev -- ^--- | cat >| .yml
grep -EB100000 -m2 -- --- $htm | grep -Ev -- ^--- >| .yml
if [ ! $xxxcc ]; then
cat .yml
xxxcc=1
Expand Down

0 comments on commit ab68f8b

Please sign in to comment.