Lock netlify-cms@0.7.1
This commit is contained in:
parent
feac99e067
commit
e00da61acb
1 changed files with 6 additions and 6 deletions
|
|
@ -12,13 +12,13 @@
|
|||
<body>
|
||||
<!-- Include the script that builds the page and powers Netlify CMS -->
|
||||
<script src="https://identity-js.netlify.com/v1/netlify-identity-widget.js"></script>
|
||||
<script src="https://unpkg.com/netlify-cms/dist/cms.js"></script>
|
||||
<script src="https://unpkg.com/netlify-cms@0.7.1/dist/cms.js"></script>
|
||||
|
||||
<script>
|
||||
// redirect when logging out
|
||||
window.netlifyIdentity.on('logout', function () {
|
||||
document.location.href = '/'
|
||||
})
|
||||
</script>
|
||||
// redirect when logging out
|
||||
window.netlifyIdentity.on('logout', function () {
|
||||
document.location.href = '/'
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue