Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I asked Github and Sass and CoffeeScript support will apparently also work for regular (non-Jekyll) pages on the `gh-pages` branch if you put dashes at the top of the file you want to be processed.

Source: https://twitter.com/benbalter/status/494533173699543041

Documentation: http://jekyllrb.com/docs/assets/



To be specific, all sites are processed through Jekyll, unless you add a `.nojekyll` file. Non-Jekyll files (like HTML or CSS) are passed transparently through Jekyll untouched. Adding the dashes to the file header simply tells Jekyll to work its magic.


Yep. The `.nojekyll` option has been around since 2009: https://github.com/blog/572-bypassing-jekyll-on-github-pages


Oh awesome, I didn't realize that everything was going through Jekyll under the hood. Is this new or has it always been like that?


It has always been like that. A file full of static files (no dashes at the top) is still a valid Jekyll site.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: