Method: Jekyll::Renderer#layouts
- Defined in:
- lib/ngage/jekyll/renderer.rb
#layouts ⇒ Object
The list of layouts registered for this Renderer. It can be written with #layouts=(new_layouts) Falls back to site.layouts if no layouts are registered.
Returns a Hash of String => Jekyll::Layout identified as basename without the extension name.
29 30 31 |
# File 'lib/ngage/jekyll/renderer.rb', line 29 def layouts @layouts || site.layouts end |