]> git.plutz.net Git - serve0/blobdiff - templates/frame.html.sh
styling for pagination links
[serve0] / templates / frame.html.sh
index 6350bd2f72c976008dedd831c4d16f22998dff5a..c389e103036bc37f180bcde80e30247491b4dde2 100755 (executable)
 cat <<EOF
 <!Doctype HTML>
 
-<html>
-  <head>
-    <meta name="viewport" content="width=device-width">
-    <title>${TITLE:-${PAGE}}</title>
-    <style type="text/css">
-    <!--
-    $(. "${_EXEC}/templates/common.css.sh")
-    -->
-    </style>
-  </head>
-  <body>
-    $([ -x "${BODY}" ] && . "${BODY}" || printf %s Error)
-  </body>
-</html>
+<html><head>
+  <meta name="viewport" content="width=device-width">
+  <link rel="stylesheet" href="?static=common.css" />
+  <title>${TITLE:-${PAGE}}</title>
+</head>
 EOF
 
+printf '<body class="%s">' "${PAGE}"
+
+[ -x "${BODY}" ] && . "${BODY}" || printf %s Error
+
+printf '</body></html>'
+
 # vi:set filetype=html: