Amend Makefile to update sitemap.
This commit is contained in:
parent
2905eca77a
commit
6cd62711b5
5
Makefile
5
Makefile
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user