aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFynn Gutic2023-11-11 11:40:46 +0100
committerGitHub2023-11-11 11:40:46 +0100
commitaa18533606814d402d41f0eb10392390f9279662 (patch)
tree3c30bd33b4bc04e3a829615f24edcf5bdcea848d
parent835affb6efd5d265a3f3636b5c21e373d06d7891 (diff)
downloademil-sitemap-generator-aa18533606814d402d41f0eb10392390f9279662.tar.xz
emil-sitemap-generator-aa18533606814d402d41f0eb10392390f9279662.tar.zst
Add HREF Lang support
-rwxr-xr-xsitemap.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sitemap.sh b/sitemap.sh
index 56c33a2..2f1d874 100755
--- a/sitemap.sh
+++ b/sitemap.sh
@@ -12,7 +12,7 @@ exec 1> sitemap.xml
# print head
echo '<?xml version="1.0" encoding="UTF-8"?>'
echo '<!-- generator="Milkys Sitemap Generator, https://github.com/mcmilk/sitemap-generator" -->'
-echo '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">'
+echo '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml">'
# print urls
IFS=$'\r\n' GLOBIGNORE='*' command eval "OPTIONS=($(cat $0.options))"