]> git.plutz.net Git - confetti/blobdiff - templates/frame.html.sh
quicker start of page submission
[confetti] / templates / frame.html.sh
index 738ec2994438fc3094f6c66c44bb23c80d193f9a..4c6cb1dcd2663049672f8d784b97c44e1995c4a4 100755 (executable)
@@ -26,13 +26,14 @@ cat <<EOF
 <html>
   <head>
     <title>$(l10n p_${PAGE})</title>
+    <meta name="viewport" content="width=device-width">
     <style type="text/css">
     <!--
 * {
   font-family: sans-serif;
-  box-sizing: border-box;
   -moz-box-sizing: border-box;
   -webkit-box-sizing: border-box;
+  box-sizing: border-box;
   z-index: 0;
 }
 body {
@@ -73,9 +74,10 @@ $(debug CSS; [ -x "${CSS}" ] && . "${CSS}")
     <div class="NAVIGATION">
       $(debug NAVIGATION = "$NAVIGATION"; for each in ${NAVIGATION}; do printf %s "<a href=\"?p=${each}\">$(l10n "p_${each}")</a>"; done)
     </div>
-    $(debug BODY; [ -x "${BODY}" ] && . "${BODY}" || printf %s 'Error')
-  </body>
-</html>
 EOF
 
+debug BODY; [ -x "${BODY}" ] && . "${BODY}" || printf %s 'Error'
+
+printf '</body></html>'
+
 # vi:set filetype=html: