Commit 88c0bcaf authored by Colin Shea's avatar Colin Shea

tweak piwik config, include fallback image

parent b690d553
......@@ -5,3 +5,6 @@ author: Evaryont
email: hello@evaryont.me
url: https://evaryont.me
avatar: https://secure.gravatar.com/avatar/efb9a1ec42adeec9615f062e55bf5c3e?size=256
piwik:
id: 1
host: stats.corvus.club
......@@ -84,7 +84,7 @@ html {
.air {
height: 4em;
background: transparent linear-gradient(to right, rgba($site-link-color, 95%) 0, rgba($site-link-color, 0) 40%, rgba($site-background-color, 0) 80%, rgba($site-background-color, 0.95) 95%) repeat scroll 0% 0%;
background: transparent linear-gradient(to right, rgba($site-link-color, 95) 0, rgba($site-link-color, 0) 40%, rgba($site-background-color, 0) 80%, rgba($site-background-color, 0.95) 95%) repeat scroll 0% 0%;
}
}
......
......@@ -49,19 +49,24 @@
<%= yield %>
<!-- Piwik -->
<% if development? %>
<!-- Wha, track all of my debuggery? That's madness! -->
<% elsif build? %>
<script type="text/javascript">
var _paq = _paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//stats.corvus.club/";
var u="//<%= data.site.piwik.host %>/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '1']);
_paq.push(['setSiteId', '<%= data.site.piwik.id %>']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="//<%= data.site.piwik.host %>/piwik.php?idsite=<%= data.site.piwik.id %>" style="border:0;" alt="" /></p></noscript>
<% end %>
<!-- End Piwik Code -->
</body>
</html>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment