JAMStack-blog-starter
JAMStack-blog-starter copied to clipboard
.gitignore file will ignore /src/ sub folders named 'css'
Hey there!
I'm not sure if this repo is open to contributions, anyways, I use this as a starting template for an Eleventy site linked to Netlify for continuous delivery as explained in the tutorial.
It worked great until I tried to 'host your self' Fontawesome, adding all the required files and the .addPassThoughCopy
setting on .eleventy.config
. It worked in the local environment, but on the netlify build the resources inside the src/assets/font-awesome/css/
folder were missing.
After some debugging I found out that the issue was that the .gitignore
contains css
in line 6, this will ignore all folders or files that match 'css' even recursively. This means that src/assets/font-awesome/css/
was ignored too.
To only ignore the css folder on the root folder it should be changed to /css/
(based on this tutorial)
If needed I can make a pull request to fix this :)
Thanks a lot for the template and tutorial!