Updated _generate_sitemap
This commit is contained in:
parent
d975982571
commit
a7474f26cb
1
qsgen2
1
qsgen2
@ -616,6 +616,7 @@ function _generate_sitemap() {
|
|||||||
|
|
||||||
# Start of the XML file
|
# Start of the XML file
|
||||||
echo '<?xml version="1.0" encoding="UTF-8"?>' > ${sitemap_file}
|
echo '<?xml version="1.0" encoding="UTF-8"?>' > ${sitemap_file}
|
||||||
|
echo "Sitemap generated by ${QSGEN} ${VERSION} - https://github.com/kekePower/qsgen2" >> ${sitemap_file}
|
||||||
echo "<?xml-stylesheet type=\"text/xsl\" href=\"${site_url}/css/default-sitemap.xsl?sitemap=page\"?>" >> ${sitemap_file}
|
echo "<?xml-stylesheet type=\"text/xsl\" href=\"${site_url}/css/default-sitemap.xsl?sitemap=page\"?>" >> ${sitemap_file}
|
||||||
echo '<urlset' >> ${sitemap_file}
|
echo '<urlset' >> ${sitemap_file}
|
||||||
echo ' xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"' >> ${sitemap_file}
|
echo ' xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"' >> ${sitemap_file}
|
||||||
|
Loading…
Reference in New Issue
Block a user