Amend Makefile to update sitemap.
This commit is contained in:
parent
2905eca77a
commit
6cd62711b5
5
Makefile
5
Makefile
@ -1,7 +1,10 @@
|
|||||||
.PHONY: upload
|
.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
|
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
|
assets/main.css: src/component.scss src/config.scss src/bovender.scss
|
||||||
yarn exec webpack
|
yarn exec webpack
|
||||||
|
|
||||||
|
sitemap.xml: index.html privacy.html
|
||||||
|
sed -i -E "s/mod>[^<]*/mod>$$(date --rfc-3339=date)/" sitemap.xml
|
||||||
|
@ -1,8 +1,14 @@
|
|||||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||||
<url>
|
<url>
|
||||||
<loc>https://www.bovender.de/</loc>
|
<loc>https://www.bovender.de/</loc>
|
||||||
<lastmod>2019-12-23</lastmod>
|
<lastmod>2019-12-28</lastmod>
|
||||||
<changefreq>monthly</changefreq>
|
<changefreq>monthly</changefreq>
|
||||||
<priority>1.0</priority>
|
<priority>1.0</priority>
|
||||||
</url>
|
</url>
|
||||||
|
<url>
|
||||||
|
<loc>https://www.bovender.de/privacy.html</loc>
|
||||||
|
<lastmod>2019-12-28</lastmod>
|
||||||
|
<changefreq>monthly</changefreq>
|
||||||
|
<priority>0.5</priority>
|
||||||
|
</url>
|
||||||
</urlset>
|
</urlset>
|
||||||
|
Loading…
Reference in New Issue
Block a user