]> Shamusworld >> Repos - ardour-manual/commitdiff
No-op: reindenting and commenting page templates
authorEd Ward <edwsaintesprit@hotmail.com>
Tue, 26 Feb 2019 10:08:21 +0000 (11:08 +0100)
committerLen Ovens <len@ovenwerks.net>
Tue, 26 Feb 2019 16:36:33 +0000 (08:36 -0800)
onepage-template.txt
page-template.txt

index dd407567d7fb79e97b5381e44a1696c36b68efb8..750369d07ec5bac8476c6004086c4237c5cf761a 100644 (file)
 </head>
 
 <body>
-<div class="container-fluid">
-       <div class="row-fluid">
-               <div id="tree" class="navbar">
+       <div class="container-fluid">
+               <div class="row-fluid">
+                       <div id="tree" class="navbar">
                                <h1 class="title"><a href="/"><img class="img-responsive" src="/images/logo.png" alt="The Ardour Manual" /></a></h1>
 
                                {% tree %}
 
-               </div>
+                       </div> <!-- navbar -->
 
-               <div class="span12" id="content">
-                       <div id="content-main">
+                       <div class="span12" id="content">
+                               <div id="content-main">
 
-                               {{ content }}
+                                       {{ content }}
 
-                       </div>
-               </div>
-       </div>
-</div>
+                               </div> <!-- content-main -->
+                       </div> <!-- content -->
+               </div> <!-- row-fluid -->
+       </div> <!-- container-fluid -->
 
 
-<script type="text/javascript">
-// I'll go to hell for this
-var isA = function(regex) { return navigator.userAgent.match(regex) };
-var isAbout = function(regex) { return document.getElementsByTagName('h1')[1].textContent.match(regex) };
+       <script type="text/javascript">
+               // I'll go to hell for this
+               var isA = function(regex) { return navigator.userAgent.match(regex) };
+               var isAbout = function(regex) { return document.getElementsByTagName('h1')[1].textContent.match(regex) };
 
-if ( (isA(/Mac/) || isAbout(/OS X/)) && (!isAbout(/Linux/)) ) {
-       var e = document.getElementsByTagName('body')[0];
-       e.className += ' mac';  // class magic for Cmd vs. Ctrl keys.
-}
-</script>
+               if ( (isA(/Mac/) || isAbout(/OS X/)) && (!isAbout(/Linux/)) ) {
+                       var e = document.getElementsByTagName('body')[0];
+                       e.className += ' mac';  // class magic for Cmd vs. Ctrl keys.
+               }
+       </script>
 
 </body>
 </html>
index 29133f971d1bfb763263a448b6b3f5b064da2897..aa103955b3992aa89dc87e1b8230740abbe7c5af 100644 (file)
 </head>
 
 <body>
-<div class="container-fluid"><div class="row-fluid">
-       <div id="tree"><div id="tree-inner">
-               <h1 class="title"><a href="/"><img class="img-responsive" src="/images/logo.png" alt="The Ardour Manual" /></a></h1>
-
-    <form id="custom-search-form" class="navbar-form" method="post" action="https://duckduckgo.com">
-
-           <div class="input-group">
-                     <input type="text" class="form-control" placeholder="Search &hellip;" name="q">
-                     <span class="input-group-btn">
-                       <button class="btn btn-default" type="submit"><span class="glyphicon glyphicon-search" aria-hidden="true"></span></button>
-                                               <button class="btn btn-default" type="button" onclick="window.location.href='/ardourmanual.html'"><span class="glyphicon glyphicon-book" aria-hidden="true"></span></button>
-                     </span>
-                 </div>
-                       <input type="hidden" name="sites" value="manual.ardour.org"><!-- domain -->
-                       <input type="hidden" name="kh" value="1"> <!--HTTPS on/off -->
-                       <input type="hidden" name="kl" value="wt-wt"> <!--region wt-wt = no region/worldwide -->
-                       <input type="hidden" name="kg" value="p"> <!--get [g] vs post [p] -->
-                       <input type="hidden" name="k7" value="w"> <!-- background colour -->
-                       <input type="hidden" name="kj" value="#212a30"> <!-- results page header colour -->
-                       <input type="hidden" name="kx" value="#59acd4"> <!-- URLs colour -->
-                       <input type="hidden" name="k1" value="-1"> <!-- adverts on/off -->
-                       <input type="hidden" name="k9" value="#59acd4"> <!-- links colour -->
-                       <input type="hidden" name="kaa" value="#2d586c"> <!-- visited links colour -->
-                       <input type="hidden" name="kae" value="#cc0000"> <!-- theme [changes result titles] colour -->
-                       <input type="hidden" name="ka" value="junge"> <!-- link font -->
-                       <input type="hidden" name="kt" value="junge"> <!-- text font -->
-    </form>
-
-
-{% tree %}
-       </div></div>
-       <div class="span12" id="content">
-    {% breadcrumbs %}
-               <div id="content-main">
-                       {% githubedit %}
-                       <h1 class="title">{{ page.title }}</h1>
-
-                       {{ content }}
-
-                       <div class="clearer"></div>
-                       {% prevnext %}
-
-               </div>
-       </div>
-</div></div>
-
-
-<script type="text/javascript">
-// I'll go to hell for this
-var isA = function(regex) { return navigator.userAgent.match(regex) };
-var isAbout = function(regex) { return document.getElementsByTagName('h1')[1].textContent.match(regex) };
-
-if ( (isA(/Mac/) || isAbout(/OS X/)) && (!isAbout(/Linux/)) ) {
-       var e = document.getElementsByTagName('body')[0];
-       e.className += ' mac';  // class magic for Cmd vs. Ctrl keys.
-}
-</script>
+       <div class="container-fluid">
+               <div class="row-fluid">
+                       <div id="tree">
+                               <div id="tree-inner">
+                                       <h1 class="title"><a href="/"><img class="img-responsive" src="/images/logo.png" alt="The Ardour Manual" /></a></h1>
+
+                                       <form id="custom-search-form" class="navbar-form" method="post" action="https://duckduckgo.com">
+                                               <div class="input-group">
+                                                       <input type="text" class="form-control" placeholder="Search &hellip;" name="q">
+                                                       <span class="input-group-btn">
+                                                               <button class="btn btn-default" type="submit"><span class="glyphicon glyphicon-search" aria-hidden="true"></span></button>
+                                                               <button class="btn btn-default" type="button" onclick="window.location.href='/ardourmanual.html'"><span class="glyphicon glyphicon-book" aria-hidden="true"></span></button>
+                                                       </span>
+                                               </div>
+                                               <input type="hidden" name="sites" value="manual.ardour.org"><!-- domain -->
+                                               <input type="hidden" name="kh" value="1"> <!--HTTPS on/off -->
+                                               <input type="hidden" name="kl" value="wt-wt"> <!--region wt-wt = no region/worldwide -->
+                                               <input type="hidden" name="kg" value="p"> <!--get [g] vs post [p] -->
+                                               <input type="hidden" name="k7" value="w"> <!-- background colour -->
+                                               <input type="hidden" name="kj" value="#212a30"> <!-- results page header colour -->
+                                               <input type="hidden" name="kx" value="#59acd4"> <!-- URLs colour -->
+                                               <input type="hidden" name="k1" value="-1"> <!-- adverts on/off -->
+                                               <input type="hidden" name="k9" value="#59acd4"> <!-- links colour -->
+                                               <input type="hidden" name="kaa" value="#2d586c"> <!-- visited links colour -->
+                                               <input type="hidden" name="kae" value="#cc0000"> <!-- theme [changes result titles] colour -->
+                                               <input type="hidden" name="ka" value="junge"> <!-- link font -->
+                                               <input type="hidden" name="kt" value="junge"> <!-- text font -->
+                                       </form>
+
+                                       {% tree %}
+
+                               </div> <!-- tree-inner -->
+                       </div> <!-- tree -->
+
+                       <div class="span12" id="content">
+
+                               {% breadcrumbs %}
+
+                               <div id="content-main">
+
+                                       {% githubedit %}
+
+                                       <h1 class="title">{{ page.title }}</h1>
+
+                                       {{ content }}
+
+                                       <div class="clearer"></div>
+
+                                       {% prevnext %}
+
+                               </div> <!-- content-main -->
+                       </div> <!-- content -->
+               </div> <!-- row-fluid -->
+       </div> <!-- container-fluid -->
+
+
+       <script type="text/javascript">
+               // I'll go to hell for this
+               var isA = function(regex) { return navigator.userAgent.match(regex) };
+               var isAbout = function(regex) { return document.getElementsByTagName('h1')[1].textContent.match(regex) };
+
+               if ( (isA(/Mac/) || isAbout(/OS X/)) && (!isAbout(/Linux/)) ) {
+                       var e = document.getElementsByTagName('body')[0];
+                       e.className += ' mac';  // class magic for Cmd vs. Ctrl keys.
+               }
+       </script>
 
 </body>
 </html>