X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=templates%2Fframe.html.sh;h=b8128a34d6d112fb52474e5ce6041c6ec7e8635a;hp=b1dbef6062166c717979366ee567df98b6ba1343;hb=069a829a781c2799836843fe037dc44d1af5c9db;hpb=f1fbffbc792d0e710c76846e09d3b5aaf3677bae diff --git a/templates/frame.html.sh b/templates/frame.html.sh index b1dbef6..b8128a3 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,59 @@ # 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' + +cat < +
$(l10n configure) + +' EOF # vi:set filetype=html: