Method: Jekyll::Collection#relative_directory

Defined in:
lib/jekyll/collection.rb

#relative_directoryObject

The directory for this Collection, relative to the site source or the directory containing the collection.

Returns a String containing the directory name where the collection

is stored on the filesystem.


109
110
111
# File 'lib/jekyll/collection.rb', line 109

def relative_directory
  @relative_directory ||= "_#{label}"
end