allow templating from other folder..
This commit is contained in:
@@ -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=
|
||||
|
||||
Reference in New Issue
Block a user