script typo
This commit is contained in:
parent
14d7ba1022
commit
dd00b1faf0
4
build.sh
4
build.sh
|
@ -74,7 +74,7 @@ done
|
||||||
echo "creating user list page.."
|
echo "creating user list page.."
|
||||||
./users.sh|markdown|
|
./users.sh|markdown|
|
||||||
if [ "$no_ext" = "1" ];then
|
if [ "$no_ext" = "1" ];then
|
||||||
sed -e 's|\(<a href="https://tilde.cafe/banned).html\(#.*\)\?">|\1\2">|g'
|
sed -e 's|\(<a href="https://tilde.cafe/banned\).html\(#.*\)\?">|\1\2">|g'
|
||||||
else cat;fi |
|
else cat;fi |
|
||||||
cat "$header" - "$footer_start" > dist/users.html
|
cat "$header" - "$footer_start" > dist/users.html
|
||||||
mdate "dist/users.html" "Last Generated: "|
|
mdate "dist/users.html" "Last Generated: "|
|
||||||
|
@ -84,7 +84,7 @@ echo "creating index page.."
|
||||||
./users.sh|
|
./users.sh|
|
||||||
cat src/index.md -|markdown|
|
cat src/index.md -|markdown|
|
||||||
if [ "$no_ext" = "1" ];then
|
if [ "$no_ext" = "1" ];then
|
||||||
sed -e 's|\(<a href="https://tilde.cafe/banned).html\(#.*\)\?">|\1\2">|g'
|
sed -e 's|\(<a href="https://tilde.cafe/banned\).html\(#.*\)\?">|\1\2">|g'
|
||||||
else cat;fi |
|
else cat;fi |
|
||||||
cat "$header" - "$footer_start" > dist/index.html
|
cat "$header" - "$footer_start" > dist/index.html
|
||||||
mdate "dist/index.html" "Last Generated: "|
|
mdate "dist/index.html" "Last Generated: "|
|
||||||
|
|
Loading…
Reference in New Issue