@cryptotaxi247 / netdata-1 / commits / e4b1f0862

allow homepage octoverse image to resize on mobile phones

Costa Tsaousis (ktsaou) committed Dec 4, 2016 at 02:42 UTC e4b1f086234d0c124cb6ef754daeef2b9a871769
1 file changed +11 -1
web/demosites.html
+11 -1
@@ -2,6 +2,7 @@
2 <html lang=en-us>
3 <meta charset=utf-8>
4 <title>NetData - Real-time performance monitoring, done right!</title>
5 +<meta name=author content="Costa Tsaousis">
6 <meta name=description
7 content="Stunning real-time dashboards, blazingly fast and extremely interactive. Zero configuration, zero dependencies, zero maintenance.">
8 <meta name=viewport content="width=device-width,initial-scale=1">
@@ -972,7 +973,7 @@ p {
973 <strong>netdata</strong> is featured at the <a href="https://octoverse.github.com/" target="_blank">GitHub's state of the Octoverse 2016</a>
974 <div style="padding-top: 10px;">
975 <a href="https://octoverse.github.com/" target="_blank">
975 - <img src="https://o.twimg.com/2/proxy.jpg?t=HBgzaHR0cDovL29jdG92ZXJzZS5naXRodWIuY29tL2ltYWdlcy9zb2NpYWwtaW1hZ2UucG5nFOASFOYJHBSEBhSUAwAAFgASAA&s=X1yj1YhGM3hclaa29go6EFa2FeJFdwGrzfs_u25L3hs" width="600" style="border-radius: 4px; border: 1px solid #333;"/>
976 + <img src="https://o.twimg.com/2/proxy.jpg?t=HBgzaHR0cDovL29jdG92ZXJzZS5naXRodWIuY29tL2ltYWdlcy9zb2NpYWwtaW1hZ2UucG5nFOASFOYJHBSEBhSUAwAAFgASAA&s=X1yj1YhGM3hclaa29go6EFa2FeJFdwGrzfs_u25L3hs" width="90%" style="border-radius: 4px; border: 1px solid #333;"/>
977 </a>
978 </div>
979 </div>
@@ -1031,6 +1032,15 @@ p {
1032 <p>
1033 </div>
1034
1035 +<script>
1036 + if(window.location.hostname != 'my-netdata.io' || window.location.protocol != 'http:') {
1037 + var canonical = document.createElement('link');
1038 + canonical.rel = 'canonical';
1039 + canonical.href = 'http://my-netdata.io/';
1040 + document.head.appendChild(canonical);
1041 + }
1042 +</script>
1043 +
1044 <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>
1045
1046 <script async src="https://buttons.github.io/buttons.js"></script>