Method: Jekyll::Collection#write?
- Defined in:
- lib/jekyll/collection.rb
#write? ⇒ Boolean
Whether the collection’s documents ought to be written as individual
files in the output.
Returns true if the ‘write’ metadata is true, false otherwise.
187 188 189 |
# File 'lib/jekyll/collection.rb', line 187 def write? !!.fetch("output", false) end |