diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-12-04 02:42:39 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-12-04 02:42:39 +0200 |
commit | e4b1f086234d0c124cb6ef754daeef2b9a871769 (patch) | |
tree | 8c377fd2a537dc1afad7015c1503e504497487c6 | |
parent | 94c2bd02d60e3ae9b58769e08945b271dd4c417a (diff) |
allow homepage octoverse image to resize on mobile phones
-rw-r--r-- | web/demosites.html | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/web/demosites.html b/web/demosites.html index da77da23b6..d05d6f4be6 100644 --- a/web/demosites.html +++ b/web/demosites.html @@ -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> |