X-Git-Url: http://git.plutz.net/?p=cgilite;a=blobdiff_plain;f=page.sh;h=f68df8e26b92445703aee85cbd83fe63ff3a82de;hp=94d864da2c2f014604add8588bf6bd54e20a0124;hb=1a1cad8bb3939064315ccf1e2605a43da94eb332;hpb=3c2a130cdaeadf1a67eb37ab70a298fa756a3c01 diff --git a/page.sh b/page.sh index 94d864d..f68df8e 100755 --- a/page.sh +++ b/page.sh @@ -17,8 +17,6 @@ # You should have received a copy of the GNU Affero General Public License # along with shcgi. If not, see . -printf "Content-Type: text/html;charset=utf-8\n\n" - [ -z "$NAVIGATION" ] \ && NAVIGATION=($(printf %s\\n "${_EXEC}"/pages/*.sh |sed -r 's;^.*/([^/]*)\.sh$;\1;')) @@ -26,4 +24,6 @@ CSS="${CSS:-${_EXEC}/templates/${PAGE}.css.sh}" BODY="${BODY:-${_EXEC}/templates/${PAGE}.html.sh}" . "${_EXEC}/pages/${PAGE}.sh" + +printf "Content-Type: text/html;charset=utf-8\r\n\r\n" . "${_EXEC}/templates/frame.html.sh"