danurbanowicz / eleventy-netlify-boilerplate

A template for building a blog with the Eleventy static site generator and Decap CMS
https://eleventy-netlify-boilerplate.netlify.app/
MIT License
528 stars 183 forks source link

Move the identity script into head of admin.html #30

Closed katedee closed 4 years ago

katedee commented 4 years ago

Previously, when the identity script was in the body tag there was an issue trying to access the admin panel. You would see a modal background (but no modal) and then not be able to access the admin panel (screen shot below).

Moving the identity script to the head tag in admin.html as recommended by netlify docs seemed to resolve the issue.

I notice, however, I no longer get the nifty "you are logged in as [X]" modal

image

katedee commented 4 years ago

ahaha and it seems to just be an issue with chrome 🤦‍♀️