Typo in _generate_sitemap
This commit is contained in:
parent
10c58a7dc5
commit
b56da741f0
2
qsgen2
2
qsgen2
@ -621,7 +621,7 @@ function _generate_sitemap() {
|
|||||||
# Add each URL to the sitemap
|
# Add each URL to the sitemap
|
||||||
for file in "${html_files[@]}"; do
|
for file in "${html_files[@]}"; do
|
||||||
# Remove www_root from the path and prepend site_url
|
# Remove www_root from the path and prepend site_url
|
||||||
local url="${site_url}/${file#$www_root}"
|
local url="${site_url}${file#$www_root}"
|
||||||
|
|
||||||
echo " <url>" >> "${sitemap_file}"
|
echo " <url>" >> "${sitemap_file}"
|
||||||
echo " <loc>${url}</loc>" >> "${sitemap_file}"
|
echo " <loc>${url}</loc>" >> "${sitemap_file}"
|
||||||
|
Loading…
Reference in New Issue
Block a user