]> git.sur5r.net Git - i3/i3.github.io/blob - _templates/i3.mako
use HTML5 doctype instead of XHTML
[i3/i3.github.io] / _templates / i3.mako
1 <%!
2
3 %><!DOCTYPE html>
4 <html>
5     <head>
6         <meta http-equiv="content-type" content="text/html; charset=utf-8">
7         <title>i3 - improved tiling wm</title>
8         <link rel="stylesheet" href="/css/style.css" type="text/css" media="screen">
9         <meta name="description" content="i3 is a dynamic tiling window manager with clean, readable and documented code, featuring extended Xinerama support, usage of libxcb instead of xlib and several improvements over wmii">
10         <meta name="keywords" content="i3, window, manager, tiling, keyboard, wmii, x11, xcb, xinerama, utf8">
11         <meta name="author" content="i3 developers">
12     </head>
13     <body>
14         <div id="main">
15             <a href="/"><h1 id="title">i3 - improved tiling WM</h1></a>
16                         <ul id="nav">
17 <%
18         menu = [
19                 [ "/docs", "Docs" ],
20                 [ "/screenshots", "Screens" ],
21                 [ "/contact", "Contact" ],
22                 [ "http://bugs.i3wm.org/", "Bugs" ]
23         ]
24 %>
25 % for link, title in menu:
26                                 <li><a
27 % if self.attr.section == title.lower():
28                                 style="border-bottom: 2px solid #fff"
29 % endif
30                                 href="${link}">${title}</a></li>
31 % endfor
32                         </ul>
33         <br style="clear: both">
34             ${next.body()}
35         </div>
36
37         <div id="footer">
38         © 2009-2011 Michael Stapelberg, <a href="/impress.html">Impressum</a>
39         </div>
40     </body>
41 </html>