Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Make Jekyll ignore some HTML files

Tags:

bower

jekyll

I'm making a theme for Jekyll and I want to make use of some Bower components. However, when I try to build my site, Jekyll tries to process some HTML files inside the components directory. One of the components (Font Awesome) uses Jekyll for its docs, and it includes a non-existent (in my case) template, then all the process fails.

My question is: is there any way to make jekyll ignore all the HTML files inside some directory and copy them as is?

like image 951
Ale Avatar asked Mar 30 '14 21:03

Ale


1 Answers

You can exclude files and folders from the conversion process by adding an exclude configuration option to your _config.yml.

This is documented here, under Global Configuration.

like image 85
David Hutchison Avatar answered Nov 12 '22 06:11

David Hutchison