diff --git a/_layouts/default.html b/_layouts/default.html index 80464201903392a9df43c3dc4f3c4e1b9b7d5d79..34c4e3f7c98f2cb4507181923b982b035b563578 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 %}">