mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 04:16:13 +00:00
Update config GA
This commit is contained in:
1 parent
847d3d4f2e
commit
8cfea6b1b5
2 files changed
+10
-4
No files matched your search
+9
-3
@@ -50,16 +50,17 @@ verbose = false
|
|||||||
verboseLog = false
|
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
|
||||||
|
googleAnalytics = ""
|
||||||
|
|
||||||
[permalinks]
|
[permalinks]
|
||||||
temp = "/:title"
|
temp = "/:title"
|
||||||
|
|
||||||
#CUSTOM PARAMS
|
#CUSTOM PARAMS
|
||||||
[params]
|
[params]
|
||||||
organizationname = ""
|
organizationname = ""
|
||||||
sitedescription = ""
|
sitedescription = ""
|
||||||
release = "0.20"
|
release = "0.20"
|
||||||
googleanalyticstrackingcode = "UA-76549364-1"
|
|
||||||
## Critical Render Path. If true, site style will be embedded in a <style> tag in each html <head> as part of Gulp Build. False puts a typical <link> to the stylesheet in <head>>
|
## Critical Render Path. If true, site style will be embedded in a <style> tag in each html <head> as part of Gulp Build. False puts a typical <link> to the stylesheet in <head>>
|
||||||
usecrp = true
|
usecrp = true
|
||||||
## Twitter handle without the "@"
|
## Twitter handle without the "@"
|
||||||
@@ -95,4 +96,9 @@ watch = true
|
|||||||
latexDashes = true
|
latexDashes = true
|
||||||
|
|
||||||
[taxonomies]
|
[taxonomies]
|
||||||
tag = "tags"
|
<<<<<<< HEAD
|
||||||
|
tag = "tags"
|
||||||
|
=======
|
||||||
|
tag = "tags"
|
||||||
|
category = ""
|
||||||
|
>>>>>>> bfb0257e17971af1cf5f2a21d325bc569acef75c
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
<!-- <script src="/js/vendor/jquery-2.2.4.min.js"></script> -->
|
<!-- <script src="/js/vendor/jquery-2.2.4.min.js"></script> -->
|
||||||
<script src="/js/script.min.js" async defer></script>
|
<script src="/js/script.min.js" async defer></script>
|
||||||
{{$gaid := .Site.Params.googleanalyticstrackingcode }}
|
{{$gaid := .Site.GoogleAnalytics }}
|
||||||
<!-- GitHub Buttons -->
|
<!-- GitHub Buttons -->
|
||||||
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
<script async defer src="https://buttons.github.io/buttons.js"></script>
|
||||||
<!-- Google Analytics -->
|
<!-- Google Analytics -->
|
||||||
|
|||||||
Reference in new issue
Block a user