]> Shamusworld >> Repos - ardour-manual/blobdiff - page-template.txt
Spelling & grammar fixes
[ardour-manual] / page-template.txt
index 005e05de255ab2e085e2373b1cd5ca02d9488b20..f6f0fa25b20c41b775a9e7a61158e03f279cb240 100644 (file)
@@ -1,40 +1,66 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<!doctype html>
+<html lang="en">
 
 <head>
        <title>{{page.page_title}}</title>
-       <meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
+       <meta http-equiv="Content-type" content="text/html; charset=UTF-8">
+       <meta name="description" content="The Ardour Manual">
+       <meta name="viewport" content="width=device-width, initial-scale=1.0">
 
-       <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-       <link href="{{page.bootstrap_path}}/css/bootstrap.min.css" rel="stylesheet" />
-       <link href="{{page.bootstrap_path}}/css/bootstrap-responsive.min.css" rel="stylesheet" />
-
-       <link href="/css/app.css" rel="stylesheet" />
+       <link href="{{page.bootstrap_path}}/css/bootstrap.min.css" rel="stylesheet">
+       <link href="/css/app.css" rel="stylesheet">
 {% if page.style %}
-       <link href="/css/{{page.style}}.css" rel="stylesheet" />
+       <link href="/css/{{page.style}}.css" rel="stylesheet">
 {% endif %}
-
-       <link href='http://fonts.googleapis.com/css?family=Junge' rel='stylesheet' type='text/css' />
 </head>
 
 <body>
 <div class="container-fluid"><div class="row-fluid">
        <div id="tree"><div id="tree-inner">
-               <h1 class="title"><a href="/"><img src="/images/logo.png" alt="The Ardour Manual" /></a></h1>
+               <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>
+                     </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">
-               <div id="search" class="gcse-search"></div>
     {% breadcrumbs %}
                <div id="content-main">
-               <h1 class="title">{{ page.title }}</h1>
-{{ content }}
-{% prevnext %}
+                       {% 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) };
@@ -46,19 +72,5 @@ if ( (isA(/Mac/) || isAbout(/OS X/)) && (!isAbout(/Linux/)) ) {
 }
 </script>
 
-<!-- Google search bar == failure  -->
-<script type="text/javascript">
-(function()
-{
-       var cx = '011950134405426689607:2lg2y9xgf3a';
-       var gcse = document.createElement('script'); gcse.type = 'text/javascript';
-       gcse.async = true;
-       gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
-               '//www.google.com/cse/cse.js?cx=' + cx;
-       var s = document.getElementsByTagName('script')[0];
-       s.parentNode.insertBefore(gcse, s);
-})();
-</script>
-
 </body>
 </html>