allow templating from other folder..
This commit is contained in:
@@ -74,10 +74,11 @@ _replace_style() {
|
|||||||
|
|
||||||
_replace() {
|
_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=
|
CONFIG=
|
||||||
STYLE=
|
STYLE=
|
||||||
LINKS=
|
LINKS=
|
||||||
|
|||||||
Reference in New Issue
Block a user