summaryrefslogtreecommitdiff
path: root/design/templates/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates/base.html')
-rw-r--r--design/templates/base.html44
1 files changed, 22 insertions, 22 deletions
diff --git a/design/templates/base.html b/design/templates/base.html
index 57883c2..a95fb26 100644
--- a/design/templates/base.html
+++ b/design/templates/base.html
@@ -32,10 +32,10 @@
<nav>
<ul>
<li><a href="/jrnl/" title="Stories of life on the road.">Jrnl</a></li>
- <li><a href="/guides/" title="Advice, Tools, Tips and Tricks for Full Time Van or RV Life.">Guides</a></li>
+ <!--<li><a href="/guides/" title="Advice, Tools, Tips and Tricks for Full Time Van or RV Life.">Guides</a></li>-->
+ <li><a href="/essays/" title="longer essays and posts about non-travel related things">Essays</a></li>
<li><a href="/field-notes/" title="Short stories, snapshots of daily life on the road.">Notes</a></li>
<li><a href="/newsletter/" title="The 'friends of a long year' newsletter">Lttr</a></li>
- <!--<li><a href="/essays/" title="longer essays and posts about non-travel related things">Essays</a></li>-->
<li><a href="/about" title="About Scott">About</a></li>
</ul>
</nav>
@@ -77,33 +77,33 @@
<script>
<!--
// Register our service-worker
-if (navigator.serviceWorker) {
- window.addEventListener('load', function() {
- if (navigator.serviceWorker.controller) {
- navigator.serviceWorker.controller.postMessage({'command': 'trimCaches'});
- } else {
- navigator.serviceWorker.register('/serviceworker.js', {
- scope: '/'
- });
- }
- });
-}
+//if (navigator.serviceWorker) {
+// window.addEventListener('load', function() {
+// if (navigator.serviceWorker.controller) {
+// navigator.serviceWorker.controller.postMessage({'command': 'trimCaches'});
+// } else {
+// navigator.serviceWorker.register('/serviceworker.js', {
+// scope: '/'
+// });
+// }
+// });
+//}
//-->
-<!-- Matomo -->
-<script type="text/javascript">
-var _paq = window._paq || [];
+<!-- Piwik -->
+var _paq = _paq || [];
+_paq.push(["disableCookies"]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//stats.luxagraf.net/";
- _paq.push(['setTrackerUrl', u+'matomo.php']);
- _paq.push(['setSiteId', '1']);
+ _paq.push(['setTrackerUrl', u+'piwik.php']);
+ _paq.push(['setSiteId', 1]);
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+'matomo.js'; s.parentNode.insertBefore(g,s);
-})();
+ g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
+ })();
+<!-- End Piwik Code -->
</script>
-<!-- End Matomo Code -->
-
+<noscript><p><img src="//stats.luxagraf.net/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
</body>
</html>