Skip to content

Commit 7f80eb1

Browse files
author
Alban Bailly
committed
adding CMS scripts
1 parent 55fd831 commit 7f80eb1

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

src/html.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ function HTML(props) {
1515
href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600"
1616
rel="stylesheet"
1717
/>
18+
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js" />
1819
</head>
1920
<body>
2021
<div id="___gatsby" dangerouslySetInnerHTML={{ __html: props.body }} />

static/admin/index.html

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Linode Developer Site Content Manager</title>
7+
8+
<!-- Include the styles for the Netlify CMS UI, after your own styles -->
9+
<link
10+
rel="stylesheet"
11+
href="https://unpkg.com/netlify-cms@^1.0.0/dist/cms.css"
12+
/>
13+
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
14+
</head>
15+
<body>
16+
<!-- Include the script that builds the page and powers Netlify CMS -->
17+
<script src="https://unpkg.com/netlify-cms@^1.0.0/dist/cms.js"></script>
18+
</body>
19+
</html>

0 commit comments

Comments
 (0)