Skip to content
Snippets Groups Projects
Commit 737e2b1a authored by Cult Ure's avatar Cult Ure Committed by Forestry.io
Browse files

Update from Forestry.io - Updated Forestry configuration

parent 69bc1ce4
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ sections:
label: Pages
create: all
match: "**/*"
new_doc_ext: ".md"
new_doc_ext: md
templates:
- single
- type: heading
......
......@@ -13,8 +13,6 @@
<!-- Use maximum-scale and user-scalable at your own risk. It disables pinch/zoom. Think about usability/accessibility before including.-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="stylesheet" href="https://local.forestry.io/main.css" />
<!-- Google font -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
......@@ -31,8 +29,27 @@
siteId: "ngsw7f5rep036a",
local: false
};
function uuidv4() {
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {
var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8);
return v.toString(16);
});
}
var uuid = uuidv4()
var script = document.createElement('script');
script.src = "https://app.forestry.io/admin/forestry.min.js?hash=" + uuid
script.id = "forestry-admin";
document.body.appendChild(script);
var link = document.createElement("link");
link.type = "text/css";
link.rel = "stylesheet";
link.href = "https://app.forestry.io/admin/main.css?hash=" + uuid
document.head.appendChild(link);
</script>
<script type="application/javascript" src="https://local.forestry.io/forestry.min.js"></script>
</body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment