From ab07457e4a1a0c580b8582c24759649df1fbbcc8 Mon Sep 17 00:00:00 2001 From: Ryan Watters Date: Sat, 1 Apr 2017 01:00:06 -0500 Subject: [PATCH] Update with temp GA code --- config.toml | 2 +- content/templates/404.md | 2 +- content/templates/alternatives.md | 2 +- themes/hugo-docs-concept/layouts/partials/site-scripts.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config.toml b/config.toml index 41d247aaa..d3d4866bb 100644 --- a/config.toml +++ b/config.toml @@ -39,7 +39,7 @@ verboseLog = false # Setting this to false will keep hugo from watching for changes during local development watch = true # Add GA Tracking Code Here. This leverages a built-in (ie, "internal") partial from HUGO: https://gohugo.io/extras/analytics#configuring-google-analytics -googleAnalytics = "" +googleAnalytics = "UA-76549364-1" [permalinks] temp = "/:title" diff --git a/content/templates/404.md b/content/templates/404.md index 09efa7d32..52d608d1d 100644 --- a/content/templates/404.md +++ b/content/templates/404.md @@ -4,7 +4,7 @@ linktitle: 404 Page description: If you know how to create a single page template, you have unlimited options for creating a custom 404. date: 2017-02-01 publishdate: 2017-02-01 -lastmod: 2017-02-01 +lastmod: 2017-03-31 categories: [templates] tags: [404, page not found] menu: diff --git a/content/templates/alternatives.md b/content/templates/alternatives.md index aa78068c5..5e9bf62f3 100644 --- a/content/templates/alternatives.md +++ b/content/templates/alternatives.md @@ -5,7 +5,7 @@ description: In addition to Go templates, Hugo supports the powerful Ace templat godocref: date: 2017-02-01 publishdate: 2017-02-01 -lastmod: 2017-02-01 +lastmod: 2017-02-20 categories: [templates] tags: [amber,ace,templating languages] menu: diff --git a/themes/hugo-docs-concept/layouts/partials/site-scripts.html b/themes/hugo-docs-concept/layouts/partials/site-scripts.html index 31c33c78d..6b8340d44 100644 --- a/themes/hugo-docs-concept/layouts/partials/site-scripts.html +++ b/themes/hugo-docs-concept/layouts/partials/site-scripts.html @@ -24,7 +24,7 @@ ga('create', '{{$gaid}}', 'auto'); ga('send', 'pageview'); - ga('create', '{{$gaid}}', { + ga('create', '{{$gaid | safeJS}}', { 'siteSpeedSampleRate': 100 }); }