Skip to content

Commit

Permalink
first sitemap command
Browse files Browse the repository at this point in the history
  • Loading branch information
philshem committed Nov 12, 2020
1 parent 8888250 commit e781c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ npm install --save sitemap
and then a one-liner:

```
echo "https://co2birth.date" > listofurls.txt && find out/co2 -name "*.html" -maxdepth 1 -type f | sed 's/out/https:\/\/co2birth.date/g' >> listofurls.txt && npx sitemap --gzip --index --index-base-url https://co2birth.date < listofurls.txt > out/sitemap-index.xml.gz && mv sitemap-0.xml out/ && rm -f sitemap-0.xml listofurls.txt
echo "https://co2birth.date" > listofurls.txt && find out/co2 -name "*.html" -maxdepth 1 -type f | sed 's/out/https:\/\/co2birth.date/g' >> listofurls.txt && npx sitemap --index-base-url https://co2birth.date < listofurls.txt > out/sitemap.xml && rm -f listofurls.txt
```


Expand Down

0 comments on commit e781c0e

Please sign in to comment.