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