X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=templates%2Fframe.html.sh;h=7d953da972f014665bbed2df282426d4dadf278d;hb=8d127fe6a7ae92a34d8885a945a36dca1b47211e;hp=4cb612b320f62b76bd6cf38889786e9da7854443;hpb=69498b6a3a0520ffaf13b7ebc5a034b01f50b535;p=serve0 diff --git a/templates/frame.html.sh b/templates/frame.html.sh index 4cb612b..7d953da 100755 --- a/templates/frame.html.sh +++ b/templates/frame.html.sh @@ -1,4 +1,4 @@ -# Copyright 2014 Paul Hänsch +# Copyright 2014, 2015 Paul Hänsch # # This file is part of Serve0 # @@ -21,35 +21,15 @@ cat < - $(. $PAGE title) + ${PAGE} - - $(. $PAGE body) + $([ -x "${BODY}" ] && . "${BODY}" || printf %s Error) EOF