allow templating from other folder..

This commit is contained in:
Ville Rantanen
2022-01-16 10:35:59 +02:00
parent 8dd5bde52a
commit f10afcb58e

View File

@@ -74,10 +74,11 @@ _replace_style() {
_replace() {
cat index.html | _replace_links | _replace_config | _replace_style
cat "$SELFDIR"/index.html | _replace_links | _replace_config | _replace_style
}
SELFDIR=$( dirname $( readlink -f "$0") )
CONFIG=
STYLE=
LINKS=