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