create the site map with a sorted order
This commit is contained in:
parent
a5e947459b
commit
67843f0a5a
|
@ -20,7 +20,7 @@ EOF
|
||||||
|
|
||||||
# list all pages in site_directory and print last mod time
|
# list all pages in site_directory and print last mod time
|
||||||
cd "$2"
|
cd "$2"
|
||||||
find . -name \*.html | cut -d'/' -f2- | while read -r page
|
find . -name \*.html | cut -d'/' -f2- | sort | while read -r page
|
||||||
do
|
do
|
||||||
if test -f /bsd
|
if test -f /bsd
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in New Issue