]> Shamusworld >> Repos - ardour-manual-diverged/blob - _layouts/bootstrap.html
Added explode/implode convenience commands.
[ardour-manual-diverged] / _layouts / bootstrap.html
1 ---
2 bootstrap_path: /bootstrap-2.2.2
3 page_title: The Ardour Manual
4 ---
5
6 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
7 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
8 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
9       
10     <head>
11         <title>{{page.page_title}}</title>
12         <meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
13
14         <meta name="viewport" content="width=device-width, initial-scale=1.0" />
15         <link href="{{page.bootstrap_path}}/css/bootstrap.min.css" rel="stylesheet" />
16         <link href="{{page.bootstrap_path}}/css/bootstrap-responsive.min.css" rel="stylesheet" />
17
18         <link href="/css/app.css" rel="stylesheet" />
19         {% if page.style %}
20         <link href="/css/{{page.style}}.css" rel="stylesheet" />
21         {% endif %}
22
23         <link href='http://fonts.googleapis.com/css?family=Junge' rel='stylesheet' type='text/css' />
24     </head>
25     <body>
26
27         <!--
28     <div class="navbar">
29         <div class="navbar-inner">
30             <div class="container">
31  
32               <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
33                 <span class="icon-bar"></span>
34                 <span class="icon-bar"></span>
35                 <span class="icon-bar"></span>
36               </a>
37  
38                 <a class="brand" href="#">The Ardour Manual</a>
39  
40                 <div class="nav-collapse collapse">
41                 </div>
42  
43             </div>
44         </div>
45     </div>
46     -->
47
48     <div class="container-fluid">
49         <div class="row-fluid">
50             <div id="tree">
51                 <div id="tree-inner">
52                     <h1 class="title"><a href="/"><img src="/images/logo.png" alt="The Ardour Manual" /></a></h1>
53                     {% tree %}
54                 </div>
55             </div>
56             <div class="span12" id="content">
57                 <div id="search" class="gcse-search">
58                 </div>
59                 <div id="content-main">
60                     <h1 class="title">{{ page.title }}</h1>
61                     {{ content }}
62                     {% prevnext %}
63                 </div>
64             </div>
65         </div>
66     </div>
67
68     <script type="text/javascript">
69     //<![CDATA[
70
71         // I'll go to hell for this
72         var isA = function(regex) { return navigator.userAgent.match(regex) };
73         var isAbout = function(regex) { return document.getElementsByTagName('h1')[1].textContent.match(regex) };
74
75         if ( (isA(/Mac/) || isAbout(/OS X/)) && (!isAbout(/Linux/)) ) {
76             var e = document.getElementsByTagName('body')[0];
77             e.className += ' mac';  // class magic for Cmd vs. Ctrl keys.
78         }
79     //]]>
80     </script>
81
82     <script type="text/javascript">
83         (function() {
84           var cx = '011950134405426689607:2lg2y9xgf3a';
85           var gcse = document.createElement('script'); gcse.type = 'text/javascript';
86           gcse.async = true;
87           gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
88               '//www.google.com/cse/cse.js?cx=' + cx;
89           var s = document.getElementsByTagName('script')[0];
90           s.parentNode.insertBefore(gcse, s);
91         })();
92     </script>
93   
94     </body>
95 </html>