From bca6f42716d44701bb6717f55da1db78035dd23d Mon Sep 17 00:00:00 2001 From: eudoxia Date: Mon, 23 Nov 2020 23:41:30 -0500 Subject: fixed plain.sh header name, fixed sitemap.sh '.git' bug --- plain-header | 24 ++++++++++++++++++++++++ simple-header | 24 ------------------------ sitemap.sh | 2 +- 3 files changed, 25 insertions(+), 25 deletions(-) create mode 100644 plain-header delete mode 100644 simple-header diff --git a/plain-header b/plain-header new file mode 100644 index 0000000..65cdda0 --- /dev/null +++ b/plain-header @@ -0,0 +1,24 @@ + + + + + + + + + + +# + + + +
diff --git a/simple-header b/simple-header
deleted file mode 100644
index 65cdda0..0000000
--- a/simple-header
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-#
-
-
-
-
diff --git a/sitemap.sh b/sitemap.sh
index ddd6358..c6cfc38 100755
--- a/sitemap.sh
+++ b/sitemap.sh
@@ -43,7 +43,7 @@ echo '
 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">' > $2
 
-echo "$(find -L $1 -type d | sort | sed -e 's;^\./;;' -e '\;/\(css\|error\|favicon\|fonts\|js\|media\);d' -e 's;$;/;')" | \
+echo "$(find -L $1 -type d | sort | sed -e 's;^\./;;' -e '\;/\(.git\|css\|error\|favicon\|fonts\|js\|media\);d' -e 's;$;/;')" | \
 while IFS='' read -r data ; do
 	DATE=$(grep "last-modified" ${data}/index.html | cut -f 4 -d \" | sed 's/ /T/' ) ;
 	urlencode "$data" | sed -e 's;^;https://;' -e "s;$;${DATE};" ;
-- 
cgit v1.2.3