X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fframe.html.sh;h=c1d3b4c9f2be4c71779841fb9db407ff5973677f;hp=b73d838a0b69e3d87f4b970431f36efbce26842a;hb=8144adb77a33850bca9c60f0b040b39f4a5da91f;hpb=1e8f35fa92c610b540cbe365e2231194b58e0cc0 diff --git a/templates/frame.html.sh b/templates/frame.html.sh index b73d838..c1d3b4c 100755 --- a/templates/frame.html.sh +++ b/templates/frame.html.sh @@ -1,4 +1,6 @@ -# Copyright 2014 Paul Hänsch +#!/bin/zsh + +# Copyright 2014, 2015 Paul Hänsch # # This file is part of Confetti. # @@ -15,58 +17,27 @@ # You should have received a copy of the GNU Affero General Public License # along with Confetti. If not, see . +. "${_EXEC}/templates/text_frame.sh" +[ -x "${_EXEC}/templates/text_${PAGE}.sh" ] && . "${_EXEC}/templates/text_${PAGE}.sh" + cat < - $($PAGE title) - + $(l10n p_${PAGE}) + + + - + -
- $(. $PAGE body) -
- - EOF +debug BODY; [ -x "${BODY}" ] && . "${BODY}" || printf %s 'Error' + +printf '' + # vi:set filetype=html: