netlify-cms-react-starter/public/admin/index.html
2018-04-26 08:42:59 +10:00

25 lines
776 B
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Content Manager</title>
<!-- Include the styles for the Netlify CMS UI, after your own styles -->
<link rel="stylesheet" href="https://unpkg.com/netlify-cms@1.7.0/dist/cms.css" />
<link rel="stylesheet" href="admin.css" />
</head>
<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@1.7.0/dist/cms.js"></script>
<script>
// redirect when logging out
window.netlifyIdentity.on('logout', function () {
document.location.href = '/'
})
</script>
</body>
</html>