X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fframe.html.sh;h=db31ad839b92755f639e77a4191d5f43da8b3a23;hp=8a754bab0afdd9de2432a064db89cdcdd07c47e9;hb=406ba29b6abd1c12a56d754bf3c1f6aadb27aab6;hpb=793cb4fe08df6131b64ddbbf6cc6cb89201f1bd4 diff --git a/templates/frame.html.sh b/templates/frame.html.sh index 8a754ba..db31ad8 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, 2017 Paul Hänsch # # This file is part of Confetti. # @@ -15,60 +17,52 @@ # 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" + +bmfile="${_DATA}/mappings/bookmarks" + cat < - $($PAGE title) - + $(l10n p_${PAGE}) + + + - $(. $PAGE body) - - EOF +debug BODY; [ -x "${BODY}" ] && . "${BODY}" || printf %s 'Error' + +printf '' + # vi:set filetype=html: