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