Add the netlify identity widget to the frontend head

Tom Rutgers committed Aug 14, 2018
commit bfa7bbfe69ebac38587f6b4ea3e0c9d9fd094497
Showing 2 changed files with 3 additions and 2 deletions
source/admin/index.html +2 -2
@@ @@ -5,9 +5,9 @@
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Netlify CMS</title>
- <script script src="https://identity.netlify.com/v1/netlify-identity-widget.js" type="text/javascript"></script>>
+ <script script src="https://identity.netlify.com/v1/netlify-identity-widget.js" type="text/javascript"></script>
</head>
<body>
- <script script src="https://unpkg.com/netlify-cms@^2.0.6/dist/netlify-cms.js" type="text/javascript"></script>>
+ <script script src="https://unpkg.com/netlify-cms@^2.0.6/dist/netlify-cms.js" type="text/javascript"></script>
</body>
</html>
source/layouts/layout.erb +1 -0
@@ @@ -9,6 +9,7 @@
<title><%= current_page.data.title || "Middleman" %></title>
<%= stylesheet_link_tag "all" %>
<%= javascript_include_tag "main" %>
+ <script script src="https://identity.netlify.com/v1/netlify-identity-widget.js" type="text/javascript"></script>
</head>
<body>
<%= yield %>