]> Shamusworld >> Repos - ardour-manual/blob - page-template.txt
Minor edit to 'Controlling Track with Automation'.
[ardour-manual] / page-template.txt
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4       
5 <head>
6         <title>{{page.page_title}}</title>
7         <meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
8
9         <meta name="viewport" content="width=device-width, initial-scale=1.0" />
10         <link href="{{page.bootstrap_path}}/css/bootstrap.min.css" rel="stylesheet" />
11         <link href="{{page.bootstrap_path}}/css/bootstrap-responsive.min.css" rel="stylesheet" />
12
13         <link href="/css/app.css" rel="stylesheet" />
14 {% if page.style %}
15         <link href="/css/{{page.style}}.css" rel="stylesheet" />
16 {% endif %}
17
18         <link href='http://fonts.googleapis.com/css?family=Junge' rel='stylesheet' type='text/css' />
19 </head>
20
21 <body>
22 <div class="container-fluid"><div class="row-fluid">
23         <div id="tree"><div id="tree-inner">
24                 <h1 class="title"><a href="/"><img src="/images/logo.png" alt="The Ardour Manual" /></a></h1>
25 {% tree %}
26         </div></div>
27         <div class="span12" id="content">
28                 <div id="search" class="gcse-search"></div>
29                 <div id="content-main">
30                 <h1 class="title">{{ page.title }}</h1>
31 {{ content }}
32 {% prevnext %}
33                 </div>
34         </div>
35 </div></div>
36
37 <script type="text/javascript">
38 // I'll go to hell for this
39 var isA = function(regex) { return navigator.userAgent.match(regex) };
40 var isAbout = function(regex) { return document.getElementsByTagName('h1')[1].textContent.match(regex) };
41
42 if ( (isA(/Mac/) || isAbout(/OS X/)) && (!isAbout(/Linux/)) ) {
43         var e = document.getElementsByTagName('body')[0];
44         e.className += ' mac';  // class magic for Cmd vs. Ctrl keys.
45 }
46 </script>
47
48 <!-- Google search bar == failure  -->
49 <script type="text/javascript">
50 (function()
51 {
52         var cx = '011950134405426689607:2lg2y9xgf3a';
53         var gcse = document.createElement('script'); gcse.type = 'text/javascript';
54         gcse.async = true;
55         gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
56                 '//www.google.com/cse/cse.js?cx=' + cx;
57         var s = document.getElementsByTagName('script')[0];
58         s.parentNode.insertBefore(gcse, s);
59 })();
60 </script>
61
62 </body>
63 </html>
64