aboutsummaryrefslogtreecommitdiff
path: root/sitemap.sh
diff options
context:
space:
mode:
authorTino Reichardt2025-01-31 17:06:48 +0100
committerGitHub2025-01-31 17:06:48 +0100
commit4b9a594240d18ad2fb9feb88df76cdef904ddd88 (patch)
tree3c30bd33b4bc04e3a829615f24edcf5bdcea848d /sitemap.sh
parent835affb6efd5d265a3f3636b5c21e373d06d7891 (diff)
parent9e2f58832f3d4dd94947c36f1de47e4fe2eb0971 (diff)
downloademil-sitemap-generator-4b9a594240d18ad2fb9feb88df76cdef904ddd88.tar.xz
emil-sitemap-generator-4b9a594240d18ad2fb9feb88df76cdef904ddd88.tar.zst
Merge pull request #7 from Fynn93/master
Add HREF Lang support
Diffstat (limited to 'sitemap.sh')
-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))"