]> git.sur5r.net Git - i3/i3.github.io/blob - _layouts/default.html
65ccca322bb30088ce9dc48101ef6802d38598c6
[i3/i3.github.io] / _layouts / default.html
1 <!DOCTYPE html>
2 <html lang="en">
3     <head>
4         <meta http-equiv="content-type" content="text/html; charset=utf-8">
5         <title>i3 - improved tiling wm</title>
6         <link rel="icon" type="image/x-icon" href="/favicon.ico">
7         <link rel="stylesheet" href="/css/style.css" type="text/css" media="screen">
8         <link rel="publisher" href="https://plus.google.com/113555191861605339299">
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 {% if page.javascript != null %}
13         <script type="text/javascript">
14 function loadjs() {
15 {% if page.require_jquery == null %}
16     var element = document.createElement("script");
17     element.src = "/js/{{page.javascript}}";
18     document.body.appendChild(element);
19 {% else %}
20     var jquery_done = false,
21         script_done = false;
22     var head = document.getElementsByTagName('head')[0];
23
24     var element = document.createElement("script");
25     element.src = "/js/jquery.1.6.2.min.js";
26     element.onload = element.onreadystatechange = function() {
27         if (!jquery_done && (!this.readyState || this.readyState === 'loaded' || this.readyState === 'complete')) {
28             jquery_done = true;
29             if (script_done) {
30                 {{page.js_callback}}
31             }
32             element.onload = element.onreadystatechange = null;
33         }
34     };
35     document.body.appendChild(element);
36
37     var script = document.createElement("script");
38     script.src = "/js/{{page.javascript}}";
39     script.onload = script.onreadystatechange = function() {
40         if (!script_done && (!this.readyState || this.readyState === 'loaded' || this.readyState === 'complete')) {
41             script_done = true;
42             if (jquery_done) {
43                 {{page.js_callback}}
44             }
45             script.onload = script.onreadystatechange = null;
46         }
47     };
48     document.body.appendChild(script);
49
50 {% endif %}
51 }
52
53 if (window.addEventListener)
54     window.addEventListener("load", loadjs, false);
55 else if (window.attachEvent)
56     window.attachEvent("onload", loadjs);
57 else window.onload = loadjs;
58         </script>
59 {% endif %}
60     </head>
61     <body>
62         <div id="main">
63             <a href="/"><h1 id="title">i3 - improved tiling WM</h1></a>
64                         <ul id="nav">
65 {% include menulink.html name="Docs" url="/docs/" %}
66 {% include menulink.html name="Screens" url="/screenshots/" %}
67 {% include menulink.html name="FAQ" url="https://www.reddit.com/r/i3wm/" %}
68 {% include menulink.html name="Contact" url="/contact/" %}
69 {% include menulink.html name="Bugs" url="https://github.com/i3/i3/issues" %}
70                         </ul>
71         <br style="clear: both">
72             {{ content }}
73         </div>
74
75         <div id="footer" lang="de">
76             © 2009 Michael Stapelberg,
77             <a href="/impress.html">Impressum</a>,
78             <a href="https://github.com/i3/i3.github.io">Source</a>
79         </div>
80     </body>
81 </html>