Loading

Jekyll Exclude Files

By default, jekyll will copy everything in the source directory into _site, but there’s an undocumented feature that lets you exclude or ignore files. A configuration variable named exclude exists. Any files or directories listed will be ignored. For example, the following is in my _config.yml file:

exclude: makelive.sh, ideas.txt, newpost.rb

so that some scripts and a text file of ideas aren’t published on the live site.


Related Posts

  1. High Availability on a Shoestring -- Postgresql 9.0 Streaming Replication
  2. iPhone/iPad UISearchBar and UISearchDisplayController Asynchronous Example
  3. Autotest with Rails Tip -- Ignore Files for Less CPU Usage
  4. My 5 Must-have vim Plugins
  5. Create deb Packages from Source with CheckInstall
You should follow me on Twitter: @patrickxb