From 8509a530477130c631b80fb994d6d8d6be96dc71 Mon Sep 17 00:00:00 2001 From: Eloi Perdereau <eloi@perdereau.eu> Date: Thu, 26 Nov 2020 17:20:42 +0100 Subject: [PATCH] remove script, test injection --- _layouts/default.html | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 8046420..34c4e3f 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -12,19 +12,6 @@ <head> {% include head.html %} {% include head/custom.html %} - - <script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script> - <script> - if (window.netlifyIdentity) { - window.netlifyIdentity.on("init", user => { - if (!user) { - window.netlifyIdentity.on("login", () => { - document.location.href = "/lepuget/"; - }); - } - }); - } - </script> </head> <body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}"> -- GitLab