mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 04:16:13 +00:00
Update with temp GA code
This commit is contained in:
1 parent
d1709df3e8
commit
ab07457e4a
4 files changed
+4
-4
No files matched your search
+1
-1
@@ -39,7 +39,7 @@ verboseLog = false
|
|||||||
# Setting this to false will keep hugo from watching for changes during local development
|
# Setting this to false will keep hugo from watching for changes during local development
|
||||||
watch = true
|
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
|
# 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]
|
[permalinks]
|
||||||
temp = "/:title"
|
temp = "/:title"
|
||||||
|
|||||||
@@ -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.
|
description: If you know how to create a single page template, you have unlimited options for creating a custom 404.
|
||||||
date: 2017-02-01
|
date: 2017-02-01
|
||||||
publishdate: 2017-02-01
|
publishdate: 2017-02-01
|
||||||
lastmod: 2017-02-01
|
lastmod: 2017-03-31
|
||||||
categories: [templates]
|
categories: [templates]
|
||||||
tags: [404, page not found]
|
tags: [404, page not found]
|
||||||
menu:
|
menu:
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ description: In addition to Go templates, Hugo supports the powerful Ace templat
|
|||||||
godocref:
|
godocref:
|
||||||
date: 2017-02-01
|
date: 2017-02-01
|
||||||
publishdate: 2017-02-01
|
publishdate: 2017-02-01
|
||||||
lastmod: 2017-02-01
|
lastmod: 2017-02-20
|
||||||
categories: [templates]
|
categories: [templates]
|
||||||
tags: [amber,ace,templating languages]
|
tags: [amber,ace,templating languages]
|
||||||
menu:
|
menu:
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
ga('create', '{{$gaid}}', 'auto');
|
ga('create', '{{$gaid}}', 'auto');
|
||||||
ga('send', 'pageview');
|
ga('send', 'pageview');
|
||||||
ga('create', '{{$gaid}}', {
|
ga('create', '{{$gaid | safeJS}}', {
|
||||||
'siteSpeedSampleRate': 100
|
'siteSpeedSampleRate': 100
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user