Amend Makefile to update sitemap.

This commit is contained in:
daniel 2019-12-28 09:58:13 +01:00
parent 2905eca77a
commit 6cd62711b5
2 changed files with 11 additions and 2 deletions

View File

@ -1,7 +1,10 @@
.PHONY: upload
upload: assets/main.css
upload: assets/main.css sitemap.xml
rsync -r --exclude .git/ --exclude src/ --exclude node_modules/ . doktorkraus.de:/var/www/bovender
assets/main.css: src/component.scss src/config.scss src/bovender.scss
yarn exec webpack
sitemap.xml: index.html privacy.html
sed -i -E "s/mod>[^<]*/mod>$$(date --rfc-3339=date)/" sitemap.xml

View File

@ -1,8 +1,14 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://www.bovender.de/</loc>
<lastmod>2019-12-23</lastmod>
<lastmod>2019-12-28</lastmod>
<changefreq>monthly</changefreq>
<priority>1.0</priority>
</url>
<url>
<loc>https://www.bovender.de/privacy.html</loc>
<lastmod>2019-12-28</lastmod>
<changefreq>monthly</changefreq>
<priority>0.5</priority>
</url>
</urlset>