analytics shortcode, moet in head steken

This commit is contained in:
wgroeneveld 2018-08-01 21:49:55 +02:00
parent 36d6237a9a
commit d108e4a61f
2 changed files with 120 additions and 7 deletions

View File

@ -61,4 +61,5 @@
"url" : "{{ .Permalink }}",
"wordCount" : "{{ .WordCount }}"
}
</script>
</script>
{{ template "_internal/google_analytics_async.html" . }}

View File

@ -492,6 +492,24 @@
"line_ending": "Unix"
}
},
{
"contents": "Searching 103 files for \"googleAnalytics\"\n\n/Users/jefklak/development/redzuurdesem/themes/hugo-theme-learn/exampleSite/layouts/partials/custom-footer.html:\n 1 <script>\n 2: (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){\n 3 (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\n 4 m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n\n1 match in 1 file\n",
"settings":
{
"buffer_size": 454,
"line_ending": "Unix",
"name": "Find Results",
"scratch": true
}
},
{
"file": "themes/hugo-theme-learn/exampleSite/layouts/partials/custom-footer.html",
"settings":
{
"buffer_size": 415,
"line_ending": "Unix"
}
},
{
"file": "layouts/partials/custom-header.html",
"settings":
@ -731,6 +749,7 @@
"height": 124.0,
"where_history":
[
"*.html"
]
},
"find_state":
@ -738,6 +757,7 @@
"case_sensitive": false,
"find_history":
[
"googleAnalytics",
"TDD",
"6°"
],
@ -757,7 +777,7 @@
"groups":
[
{
"selected": 1,
"selected": 3,
"sheets":
[
{
@ -773,15 +793,15 @@
"selection":
[
[
323,
323
137,
123
]
],
"settings":
{
"WordCount":
{
"changes": 12,
"changes": 0,
"count": 46,
"modified": false,
"selection": false,
@ -799,6 +819,98 @@
},
{
"buffer": 1,
"semi_transient": false,
"settings":
{
"buffer_size": 454,
"regions":
{
"match":
{
"flags": 112,
"regions":
[
[
209,
224
]
],
"scope": ""
}
},
"selection":
[
[
200,
200
]
],
"settings":
{
"WordCount":
{
"changes": 3,
"count": 10,
"modified": false,
"selection": false,
"status": -1,
"syntax": "plain text"
},
"detect_indentation": false,
"line_numbers": false,
"output_tag": 1,
"result_base_dir": "",
"result_file_regex": "^([^ \t].*):$",
"result_line_regex": "^ +([0-9]+):",
"scroll_past_end": true,
"syntax": "Packages/Default/Find Results.hidden-tmLanguage"
},
"translation.x": 0.0,
"translation.y": 0.0,
"zoom_level": 1.0
},
"stack_index": 3,
"type": "text"
},
{
"buffer": 2,
"file": "themes/hugo-theme-learn/exampleSite/layouts/partials/custom-footer.html",
"semi_transient": false,
"settings":
{
"buffer_size": 415,
"regions":
{
},
"selection":
[
[
415,
415
]
],
"settings":
{
"WordCount":
{
"changes": 0,
"count": 4,
"modified": false,
"selection": false,
"status": -1,
"syntax": "plain text"
},
"syntax": "Packages/HTML/HTML.sublime-syntax"
},
"translation.x": 0.0,
"translation.y": 0.0,
"zoom_level": 1.0
},
"stack_index": 1,
"type": "text"
},
{
"buffer": 3,
"file": "layouts/partials/custom-header.html",
"semi_transient": false,
"settings":
@ -837,7 +949,7 @@
"type": "text"
},
{
"buffer": 2,
"buffer": 4,
"file": "content/leren/2015-07-09-62015-boekweit-en-broodbakmachine.md",
"semi_transient": true,
"settings":
@ -872,7 +984,7 @@
"translation.y": 0.0,
"zoom_level": 1.0
},
"stack_index": 1,
"stack_index": 4,
"type": "text"
}
]