]> Shamusworld >> Repos - ardour-manual/blob - page-template.txt
Converts <img> to <figure> where it makes sense
[ardour-manual] / page-template.txt
1 <!doctype html>
2 <html lang="en">
3
4 <head>
5         <title>{{page.page_title}}</title>
6         <meta http-equiv="Content-type" content="text/html; charset=UTF-8">
7         <meta name="description" content="The Ardour Manual">
8         <meta name="viewport" content="width=device-width, initial-scale=1.0">
9
10         <link href="{{page.bootstrap_path}}/css/bootstrap.min.css" rel="stylesheet">
11         <link href="/css/app.css" rel="stylesheet">
12 {% if page.style %}
13         <link href="/css/{{page.style}}.css" rel="stylesheet">
14 {% endif %}
15 </head>
16
17 <body>
18 <div class="container-fluid"><div class="row-fluid">
19         <div id="tree"><div id="tree-inner">
20                 <h1 class="title"><a href="/"><img class="img-responsive" src="/images/logo.png" alt="The Ardour Manual" /></a></h1>
21
22     <form id="custom-search-form" class="navbar-form" method="post" action="https://duckduckgo.com">
23
24             <div class="input-group">
25                       <input type="text" class="form-control" placeholder="Search &hellip;" name="q">
26                       <span class="input-group-btn">
27                         <button class="btn btn-default" type="submit"><span class="glyphicon glyphicon-search" aria-hidden="true"></span></button>
28                                                 <button class="btn btn-default" type="button" onclick="window.location.href='/ardourmanual.html'"><span class="glyphicon glyphicon-book" aria-hidden="true"></span></button>
29                       </span>
30                   </div>
31                         <input type="hidden" name="sites" value="manual.ardour.org"><!-- domain -->
32                         <input type="hidden" name="kh" value="1"> <!--HTTPS on/off -->
33                         <input type="hidden" name="kl" value="wt-wt"> <!--region wt-wt = no region/worldwide -->
34                         <input type="hidden" name="kg" value="p"> <!--get [g] vs post [p] -->
35                         <input type="hidden" name="k7" value="w"> <!-- background colour -->
36                         <input type="hidden" name="kj" value="#212a30"> <!-- results page header colour -->
37                         <input type="hidden" name="kx" value="#59acd4"> <!-- URLs colour -->
38                         <input type="hidden" name="k1" value="-1"> <!-- adverts on/off -->
39                         <input type="hidden" name="k9" value="#59acd4"> <!-- links colour -->
40                         <input type="hidden" name="kaa" value="#2d586c"> <!-- visited links colour -->
41                         <input type="hidden" name="kae" value="#cc0000"> <!-- theme [changes result titles] colour -->
42                         <input type="hidden" name="ka" value="junge"> <!-- link font -->
43                         <input type="hidden" name="kt" value="junge"> <!-- text font -->
44     </form>
45
46
47 {% tree %}
48         </div></div>
49         <div class="span12" id="content">
50     {% breadcrumbs %}
51                 <div id="content-main">
52                         {% githubedit %}
53                         <h1 class="title">{{ page.title }}</h1>
54
55                         {{ content }}
56
57                         <div class="clearer"></div>
58                         {% prevnext %}
59
60                 </div>
61         </div>
62 </div></div>
63
64
65 <script type="text/javascript">
66 // I'll go to hell for this
67 var isA = function(regex) { return navigator.userAgent.match(regex) };
68 var isAbout = function(regex) { return document.getElementsByTagName('h1')[1].textContent.match(regex) };
69
70 if ( (isA(/Mac/) || isAbout(/OS X/)) && (!isAbout(/Linux/)) ) {
71         var e = document.getElementsByTagName('body')[0];
72         e.className += ' mac';  // class magic for Cmd vs. Ctrl keys.
73 }
74 </script>
75
76 </body>
77 </html>