X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fframe.html.sh;h=53c72697c491a5f33407deacce43e0f80d2d6988;hp=d6441d26dc215fa4ee5a9bfbcbc385dec0ad82f9;hb=9f7782b085e44a2ecb656674f48be0e2b20fc31c;hpb=63e4f339c5eb99b4aed9a2f201c2547c06703b5c diff --git a/templates/frame.html.sh b/templates/frame.html.sh index d6441d2..53c7269 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,63 +17,31 @@ # 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: