fix sitemap header
This commit is contained in:
parent
f0e9334cb9
commit
e2c8918a49
|
@ -13,14 +13,9 @@ test $# -eq 2 || usage
|
|||
ndd="$1"
|
||||
|
||||
# sitemap header
|
||||
printf '%s\n' \
|
||||
cat <<EOF
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
|
||||
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"
|
||||
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
EOF
|
||||
|
||||
# list all pages in site_directory and print last mod time
|
||||
|
|
Loading…
Reference in New Issue