-
Notifications
You must be signed in to change notification settings - Fork 54
/
app.html
33 lines (31 loc) · 815 Bytes
/
app.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!--
_ __ ___ ____ ___
(_)____ _ / /__ ___ < // __ \< /
/ // __ `// //_// _ \ / // / / // /
/ // /_/ // ,< / __// // /_/ // /
__/ / \__,_//_/|_| \___//_/ \____//_/
/___/
BAEL THEME FOR JAMSTACK + NETLIFY CMS
https://jake101.com | https://github.com/jake-101
-->
<!DOCTYPE html>
<html {{ HTML_ATTRS }}>
<head>
{{ HEAD }}
<script defer src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
</head>
<body {{ BODY_ATTRS }}>
{{ APP }}
</body>
<script defer>
if (window.netlifyIdentity) {
window.netlifyIdentity.on("init", user => {
if (!user) {
window.netlifyIdentity.on("login", () => {
document.location.href = "/admin/";
});
}
});
}
</script>
</html>