]> git.plutz.net Git - confetti/blob - templates/frame.html.sh
frame around card elements, load css properly
[confetti] / templates / frame.html.sh
1 cat <<EOF
2 <!Doctype HTML>
3
4 <html>
5   <head>
6     <title>$($PAGE title)</title>
7     <style type="text/css">
8     <!--
9
10
11     $(. $PAGE css)
12     -->
13     </style>
14   </head>
15   <body>
16     <div class="NAVIGATION">
17       $(NAVIGATION |sed -r 's:^([^ ]+) (.+)$:<a href="\1">\2</a>:g')
18     </div>
19     <div class="MAIN">
20       $(. $PAGE body)
21     </div>
22   </body>
23 </html>
24 EOF
25
26 # vi:set filetype=html: