Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

Commit 9fcae3f

Browse files
committed
Update to static cms 2.0.0
1 parent 01a63d3 commit 9fcae3f

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

static/admin/index.html

+6-5
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@
66
<title>Content Manager</title>
77
<!-- Include the script that enables Netlify Identity on this page. -->
88
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
9+
<link rel="stylesheet" href="https://unpkg.com/@staticcms/app@^2.0.0/dist/main.css" />
910
</head>
1011
<body>
1112
<!-- Include the script that builds the page and powers Static CMS -->
12-
<script src="https://unpkg.com/@staticcms/core@%5E1.0.0/dist/static-cms-app.js"></script>
13+
<script src="https://unpkg.com/@staticcms/core@%5E2.0.0/dist/static-cms-app.js"></script>
1314
<script>
14-
CMS.registerPreviewStyle("/admin/admin.css");
15-
CMS.init();
16-
</script>
15+
CMS.registerPreviewStyle('/admin/admin.css')
16+
CMS.init()
17+
</script>
1718
</body>
18-
</html>
19+
</html>

0 commit comments

Comments
 (0)