Closed Newman5 closed 2 years ago
I was having the same issue, It's probably failing because your github page repository is configured to build the site from jekyll source, since we're using a different generator we have to do things a bit differently.
What I did to solve the issue was to add an empty .nojekyll
file to the root, this tells github pages that you are using your own static site generator and will run the build on the generated pages instead of the source.
After that I configured my repo on github to build the site from the /docs
folder (documentation here) and on my .eleventy.js
file I setup the output to docs
.
I then ran eleventy on the terminal and pushed the newly generated files to github after a couple of seconds my site was up and running.
On a side note if you're also configuring a domain name make sure to include the CNAME
file in the docs folder as well.
I added a .nojekyll
file to this project to hopefully avoid this for folks in the future! Thanks!
I got the following build error:
Any help is appreciated. I got the build to work by deleting the 'archive.njk' file. I saw that both Liquid and another template language are used. Perhaps this is the problem? I'm new to this and this is my first 11ty site.