Add Google Analytics | Add robots.txt | Minor tweak on css 0.13
wreis [Sun, 17 Oct 2010 13:07:27 +0000 (10:07 -0300)]
root/html/about.html
root/html/error_404.html
root/html/error_500.html
root/html/layout.html
root/static/main.css
root/static/robots.txt [new file with mode: 0644]

index 0926192..b9b5083 100644 (file)
@@ -5,6 +5,19 @@
                <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
                <link rel="shortcut icon" href="/static/favicon.ico" />
                <link rel="stylesheet" href="/static/main.css" type="text/css" />
+               <script type="text/javascript">
+
+                  var _gaq = _gaq || [];
+                  _gaq.push(['_setAccount', 'UA-445290-5']);
+                  _gaq.push(['_trackPageview']);
+
+                  (function() {
+                    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+                    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+                    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+                  })();
+
+                </script>
        </head>
 <body>
 <div class="container">
@@ -15,7 +28,7 @@
                 </form>
         </div>
        <div id="logo">
-               <a href="/"><h1>BackPAN.org</h1><a>
+               <a href="/"><h1>BackPAN.org</h1></a>
        </div>
        <div id="menu">
                <div class="nav">
index 960c14c..dd543f1 100644 (file)
@@ -5,6 +5,19 @@
                 <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
                <link rel="shortcut icon" href="/static/favicon.ico" />
                 <link rel="stylesheet" href="/static/main.css" type="text/css" />
+               <script type="text/javascript">
+
+                  var _gaq = _gaq || [];
+                  _gaq.push(['_setAccount', 'UA-445290-5']);
+                  _gaq.push(['_trackPageview']);
+
+                  (function() {
+                    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+                    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+                    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+                  })();
+
+                </script>
         </head>
 <body>
 <div class="container">
@@ -15,7 +28,7 @@
                 </form>
         </div>
         <div id="logo">
-                <a href="/"><h1>BackPAN.org</h1><a>
+                <a href="/"><h1>BackPAN.org</h1></a>
         </div>
         <div id="menu">
                 <div class="nav">
index d70f24a..2d36760 100644 (file)
@@ -5,6 +5,19 @@
                <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
                <link rel="shortcut icon" href="/static/favicon.ico" />
                <link rel="stylesheet" href="/static/main.css" type="text/css" />
+               <script type="text/javascript">
+
+                  var _gaq = _gaq || [];
+                  _gaq.push(['_setAccount', 'UA-445290-5']);
+                  _gaq.push(['_trackPageview']);
+
+                  (function() {
+                    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+                    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+                    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+                  })();
+
+                </script>
        </head>
 <body>
 <div class="container">
@@ -15,7 +28,7 @@
                 </form>
         </div>
        <div id="logo">
-               <a href="/"><h1>BackPAN.org</h1><a>
+               <a href="/"><h1>BackPAN.org</h1></a>
        </div>
        <div id="menu">
                <div class="nav">
index 448fc50..bc6bae6 100644 (file)
@@ -5,6 +5,19 @@
                <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
                <link rel="shortcut icon" href="/static/favicon.ico" />
                <link rel="stylesheet" href="/static/main.css" type="text/css" />
+               <script type="text/javascript">
+
+                 var _gaq = _gaq || [];
+                 _gaq.push(['_setAccount', 'UA-445290-5']);
+                 _gaq.push(['_trackPageview']);
+
+                 (function() {
+                   var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+                   ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+                   var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+                 })();
+
+               </script>
        </head>
 <body>
 <div class="container">
@@ -15,7 +28,7 @@
                </form>
        </div>
        <div id="logo">
-               <a href="/"><h1>BackPAN.org</h1><a>
+               <a href="/"><h1>BackPAN.org</h1></a>
        </div>
        <div id="menu">
                <div class="nav">
index a701748..9f18f43 100644 (file)
@@ -55,7 +55,8 @@ color: #FFF;
 text-shadow: 1px 1px 1px #333;
 }
 
-#content, #list, #footer { width: 100%; overflow: auto; }
+#content, #list, #footer { width: 100%; overflow: auto }
+#content { min-height: 518px  }
 
 #content {
 margin-top: 30px;
diff --git a/root/static/robots.txt b/root/static/robots.txt
new file mode 100644 (file)
index 0000000..87a97c0
--- /dev/null
@@ -0,0 +1,2 @@
+User-agent: *
+Disallow: /search