Update config example
This commit is contained in:
parent
70e7ec8e5d
commit
e71538996c
|
@ -10,7 +10,7 @@
|
|||
"baseUrl": "example.com",
|
||||
"contentPath": "./content",
|
||||
"storage": "file",
|
||||
"non-content-files": [
|
||||
"specialFiles": [
|
||||
"about.md", "resume.md"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
"scripts": [
|
||||
"<!-- freshlytics snippet -->\n\n<script>\n (function() {\n var COLLECT_URL = \"https:\/\/freshlytics.namesny.com\/api\/collect\";\n var PROJECT_ID = \"5L23TOXUJX\";\n var GLOBAL_VAR_NAME = \"__freshlytics__\";\n\n window[GLOBAL_VAR_NAME] = {};\n\n window[GLOBAL_VAR_NAME].sendPageView = function() {\n var path = location.pathname;\n var referrer = document.referrer;\n\n var url =\n COLLECT_URL +\n \"?project_id=\" +\n PROJECT_ID +\n \"&path=\" +\n encodeURIComponent(path) +\n \"&referrer=\" +\n encodeURIComponent(referrer);\n\n var xhr = new XMLHttpRequest();\n xhr.open(\"GET\", url);\n xhr.send();\n };\n\n window[GLOBAL_VAR_NAME].sendPageView();\n })();\n<\/script>"
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue