Update config example

This commit is contained in:
LordMathis 2020-05-23 16:39:33 +02:00
parent 70e7ec8e5d
commit e71538996c
2 changed files with 1 additions and 2 deletions

View File

@ -10,7 +10,7 @@
"baseUrl": "example.com",
"contentPath": "./content",
"storage": "file",
"non-content-files": [
"specialFiles": [
"about.md", "resume.md"
]
}

View File

@ -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>"
]
}