Method: Jekyll::Collection#extract_metadata
- Defined in:
- lib/jekyll/collection.rb
#extract_metadata ⇒ Object
Extract options for this collection from the site configuration.
Returns the metadata for this collection
203 204 205 206 207 208 209 |
# File 'lib/jekyll/collection.rb', line 203 def if site.config["collections"].is_a?(Hash) site.config["collections"][label] || {} else {} end end |