X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=templates%2Fframe.html.sh;h=6350bd2f72c976008dedd831c4d16f22998dff5a;hb=f53385198b80cd7df7ad7a11f4f77bfe2f69cf50;hp=b6363d090d9a4ba715fa67ec48085b4d58c422ee;hpb=cc3eaa233f51324cdb20b594b6751468ba78aa4f;p=serve0 diff --git a/templates/frame.html.sh b/templates/frame.html.sh index b6363d0..6350bd2 100755 --- a/templates/frame.html.sh +++ b/templates/frame.html.sh @@ -1,4 +1,4 @@ -# Copyright 2014 Paul Hänsch +# Copyright 2014 - 2016 Paul Hänsch # # This file is part of Serve0 # @@ -20,32 +20,16 @@ cat < - $($PAGE title) + + ${TITLE:-${PAGE}} - - $(. $PAGE body) + $([ -x "${BODY}" ] && . "${BODY}" || printf %s Error) EOF