]> arthur.barton.de Git - netdata.git/commitdiff
allow homepage octoverse image to resize on mobile phones
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sun, 4 Dec 2016 00:42:39 +0000 (02:42 +0200)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sun, 4 Dec 2016 00:42:39 +0000 (02:42 +0200)
web/demosites.html

index da77da23b6750c154a77f9ea476f1c7fa0de34b0..d05d6f4be686732eb993880b9eb4ab0313a2912e 100644 (file)
@@ -2,6 +2,7 @@
 <html lang=en-us>
 <meta charset=utf-8>
 <title>NetData - Real-time performance monitoring, done right!</title>
+<meta name=author content="Costa Tsaousis">
 <meta name=description
       content="Stunning real-time dashboards, blazingly fast and extremely interactive. Zero configuration, zero dependencies, zero maintenance.">
 <meta name=viewport content="width=device-width,initial-scale=1">
@@ -972,7 +973,7 @@ p {
                <strong>netdata</strong> is featured at the <a href="https://octoverse.github.com/" target="_blank">GitHub's state of the Octoverse 2016</a>
             <div style="padding-top: 10px;">
                 <a href="https://octoverse.github.com/" target="_blank">
-                <img src="https://o.twimg.com/2/proxy.jpg?t=HBgzaHR0cDovL29jdG92ZXJzZS5naXRodWIuY29tL2ltYWdlcy9zb2NpYWwtaW1hZ2UucG5nFOASFOYJHBSEBhSUAwAAFgASAA&s=X1yj1YhGM3hclaa29go6EFa2FeJFdwGrzfs_u25L3hs" width="600" style="border-radius: 4px; border: 1px solid #333;"/>
+                <img src="https://o.twimg.com/2/proxy.jpg?t=HBgzaHR0cDovL29jdG92ZXJzZS5naXRodWIuY29tL2ltYWdlcy9zb2NpYWwtaW1hZ2UucG5nFOASFOYJHBSEBhSUAwAAFgASAA&s=X1yj1YhGM3hclaa29go6EFa2FeJFdwGrzfs_u25L3hs" width="90%" style="border-radius: 4px; border: 1px solid #333;"/>
                 </a>
             </div>
         </div>
@@ -1031,6 +1032,15 @@ p {
     <p>
 </div>
 
+<script>
+    if(window.location.hostname != 'my-netdata.io' || window.location.protocol != 'http:') {
+        var canonical = document.createElement('link');
+        canonical.rel = 'canonical';
+        canonical.href = 'http://my-netdata.io/';
+        document.head.appendChild(canonical);
+    }
+</script>
+
 <script>!function(t,e){"use strict";function a(t,n){return t.hasAttribute(n)===!0?t:t.parentNode!==r.body?a(t.parentNode,n):e}function n(n){var o,i,r,c,g,u=a(n.target,"data-ga-action"),l=!1;u!==e&&(o=u.getAttribute("data-ga-action")||e,i=u.getAttribute("data-ga-category")||e,r=u.getAttribute("data-ga-label")||e,c=u.getAttribute("href"),g=parseInt(u.getAttribute("data-ga-value"),10)||e,ga!==e&&i!==e&&o!==e&&(n.preventDefault(),"Download"!==i&&n.ctrlKey!==!0&&n.metaKey!==!0&&2!==n.which||(l=!0,t.open(c)),function(a){var n;ga("send","event",i,o,r,g,{hitCallback:function(){l===!1&&(n!==e&&clearTimeout(n),t.location=a)}}),n=setTimeout(function(){l===!1&&(t.location.href=a)},1e3)}(c)))}function o(){!function(t,e,a,n,o,i){t.GoogleAnalyticsObject=n,t[n]||(t[n]=function(){(t[n].q=t[n].q||[]).push(arguments)}),t[n].l=+new Date,o=e.createElement(a),i=e.getElementsByTagName(a)[0],o.src="//www.google-analytics.com/analytics.js",i.parentNode.insertBefore(o,i)}(t,r,"script","ga"),ga("create","UA-64295674-3","auto"),ga("send","pageview"),t.document.addEventListener("click",n)}function i(){!function(t,e,a){var n,o=t.getElementsByTagName(e)[0];t.getElementById(a)||(n=t.createElement(e),n.id=a,n.src="//platform.twitter.com/widgets.js",o.parentNode.insertBefore(n,o))}(r,"script","twitter-wjs")}var r=t.document;o(),t.onload=i}(window)</script>
 
 <script async src="https://buttons.github.io/buttons.js"></script>