X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=templates%2Fframe.html.sh;h=c389e103036bc37f180bcde80e30247491b4dde2;hb=c59fd5a4946c4d13fc1692e4561878a9bb2b3e17;hp=822659b78df896757995da80d18f3ee83c60290c;hpb=74ff372bee75fb6f9f09014533a2494a9791a9f2;p=serve0 diff --git a/templates/frame.html.sh b/templates/frame.html.sh index 822659b..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: