From b735229725c2f38778a1c90a9f79c0b7b01b6112 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Mon, 14 Sep 2020 11:00:31 -0500 Subject: [PATCH] Fix analytics --- content/about.md | 5 ---- content/contact.md | 6 +++- layouts/index.html | 35 +++++++++++++++++++++--- themes/lyte/layouts/_default/baseof.html | 1 + themes/lyte/static/global.js | 5 +++- 5 files changed, 41 insertions(+), 11 deletions(-) diff --git a/content/about.md b/content/about.md index 0576524..06319c8 100644 --- a/content/about.md +++ b/content/about.md @@ -58,8 +58,3 @@ My laptop when I'm "working". My desktop when I'm "working". --> - -+ [Privacy][pp] - - -[pp]: /privacy diff --git a/content/contact.md b/content/contact.md index 26fd190..0f8808e 100644 --- a/content/contact.md +++ b/content/contact.md @@ -8,7 +8,8 @@ title: Contact description: "Need to get in touch?" --- -Email me at daniel@lyte.dev or use the form below. +Email me at [daniel@lyte.dev][e], [message me on Discord][d], or use the form +below.
@@ -29,3 +30,6 @@ Email me at daniel@lyte.dev or use the form below. + +[e]: mailto:daniel@lyte.dev +[d]: https://discord.gg/jUCXCYp diff --git a/layouts/index.html b/layouts/index.html index 91db2fe..719baa5 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -6,13 +6,18 @@

- I live in Kansas City where I help run a small Christian church, raise a - family, and write software for Postmates. + + I live in Kansas City where I help run a small Christian church, raise two + kids with my awesome wife, and + write software for Postmates. +

- Occasionally, I write technical blog posts. You can also check out my work - on GitHub. + Occasionally, I post technical blog posts here.

Latest Posts

@@ -24,4 +29,26 @@

Looks like there's nothing here!... yet!

{{ end }} + +

More Me

+ + + +

Meta

+ + {{ end }} diff --git a/themes/lyte/layouts/_default/baseof.html b/themes/lyte/layouts/_default/baseof.html index d114f83..308a6b2 100644 --- a/themes/lyte/layouts/_default/baseof.html +++ b/themes/lyte/layouts/_default/baseof.html @@ -35,5 +35,6 @@ {{ end }} + diff --git a/themes/lyte/static/global.js b/themes/lyte/static/global.js index d5a8946..dd98e54 100644 --- a/themes/lyte/static/global.js +++ b/themes/lyte/static/global.js @@ -1,5 +1,7 @@ +window._paq=[['trackPageView'],['enableLinkTracking'],['setTrackerUrl','//a.lyte.dev/matomo.php'],['setSiteId','1']] + +/* var _paq = window._paq = window._paq || []; -/* tracker methods like "setCustomDimension" should be called before "trackPageView" */ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { @@ -9,3 +11,4 @@ _paq.push(['enableLinkTracking']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); })(); +*/