matteobrusa/Password-protection-for-static-pages

Can't get Jekyll to run

electronicdreamplant opened this issue · 2 comments

This is a great bit of code for simple password protection but I'm struggling (n00b)

My Jekyll site worked fine before I moved it into the folder, now only non-jekyll pages work. I've tried moving the _config.yml and gem files to outside of the folder but that hasn't worked either.

Repo is here: https://github.com/electronicdreamplant/memorybox3

Unfortunately I'm no Jekyll expert, i suggest to see what's the error in the console.

That's not an issue with Jekyll. @electronicdreamplant You're loading a different SHA1 lib (this instead of this), which has a syntax error. And in turn, when you submit the password, you're calling a function which is not referenced.

Bildschirmfoto 2019-03-13 um 20 38 00

Bildschirmfoto 2019-03-13 um 20 43 14

Changing the source for the SHA1 script should fix your problem.