X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=templates%2Fframe.html.sh;h=c389e103036bc37f180bcde80e30247491b4dde2;hb=d716f2ce1fe64cf87f777490315bc51906001c72;hp=b6363d090d9a4ba715fa67ec48085b4d58c422ee;hpb=cc3eaa233f51324cdb20b594b6751468ba78aa4f;p=serve0 diff --git a/templates/frame.html.sh b/templates/frame.html.sh index b6363d0..c389e10 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 # @@ -18,36 +18,17 @@ cat < - - - $($PAGE title) - - - - - $(. $PAGE body) - - + + + + ${TITLE:-${PAGE}} + EOF +printf '' "${PAGE}" + +[ -x "${BODY}" ] && . "${BODY}" || printf %s Error + +printf '' + # vi:set filetype=html: