diff --git a/www/plugins/jasonwilliams/calgaryconditions/lang/en-ca/lang.php b/www/plugins/jasonwilliams/calgaryconditions/lang/en/lang.php similarity index 100% rename from www/plugins/jasonwilliams/calgaryconditions/lang/en-ca/lang.php rename to www/plugins/jasonwilliams/calgaryconditions/lang/en/lang.php diff --git a/www/plugins/jasonwilliams/feed/lang/en-ca/lang.php b/www/plugins/jasonwilliams/feed/lang/en/lang.php similarity index 100% rename from www/plugins/jasonwilliams/feed/lang/en-ca/lang.php rename to www/plugins/jasonwilliams/feed/lang/en/lang.php diff --git a/www/themes/jason-williamsca/assets/javascript/common.js b/www/themes/jason-williamsca/assets/javascript/common.js index c3f46ea..1dd4d4c 100644 --- a/www/themes/jason-williamsca/assets/javascript/common.js +++ b/www/themes/jason-williamsca/assets/javascript/common.js @@ -14,4 +14,13 @@ $(() => { $('textarea').each(function() { $(this).height($(this)[0].scrollHeight) }) + + // Use google analytics in production + if (!window.location.hostname.includes('dev')) { + window.dataLayer = window.dataLayer || []; + function gtag(){dataLayer.push(arguments);} + gtag('js', new Date()); + + gtag('config', 'UA-167178542-1'); + } }); \ No newline at end of file diff --git a/www/themes/jason-williamsca/layouts/default.htm b/www/themes/jason-williamsca/layouts/default.htm index ecc9cf6..97da93a 100644 --- a/www/themes/jason-williamsca/layouts/default.htm +++ b/www/themes/jason-williamsca/layouts/default.htm @@ -51,14 +51,15 @@ description = "Default Layout"
Recent Projects
+Recent Blog Posts
+ja.son-williams.ca
+ja.son-williams.ca
+Under maintenance. Please check back later.