]> git.plutz.net Git - confetti/blobdiff - templates/frame.html.sh
changed page structure
[confetti] / templates / frame.html.sh
diff --git a/templates/frame.html.sh b/templates/frame.html.sh
new file mode 100755 (executable)
index 0000000..bac2871
--- /dev/null
@@ -0,0 +1,26 @@
+cat <<EOF
+<!Doctype HTML>
+
+<html>
+  <head>
+    <title>$($PAGE title)</title>
+    <style type="text/css">
+    <!--
+
+
+    $($PAGE css)
+    -->
+    </style>
+  </head>
+  <body>
+    <div class="NAVIGATION">
+      $(NAVIGATION |sed -r 's:^([^ ]+) (.+)$:<a href="\1">\2</a>:g')
+    </div>
+    <div class="MAIN">
+      $($PAGE body)
+    </div>
+  </body>
+</html>
+EOF
+
+# vi:set filetype=html: