Hello! I’m trying to add a cookie notice to my site. I followed the directions exactly from Jekyll Codex
I uploaded the file to the _includes folder on github, and added the needed code to the necessary layout page.
But I keep getting this error.
The page build failed for the
master branch with the following error:
A file was included in
/_layouts/base.html that is a symlink or does not exist in your
_includes directory. For more information, see https://docs.github.com/github/working-with-github-pages/troubleshooting-jekyll-build-errors-for-github-pages-sites#file-is-a-symlink.
The issue is, the required file is already in the _includes folder. I also copy and pasted the name of the file into the code of the layout file to make sure all the spelling is right. I’m not sure what I’m missing or why the cookie-consent.html file is not being seen in my _includes folder.
Any help will be appreciated!