Method: Hyde::Project#path
- Defined in:
- lib/hyde/project.rb
#path(what, *a) ⇒ Object
101 102 103 104 105 |
# File 'lib/hyde/project.rb', line 101 def path(what, *a) return nil unless [:output, :site, :layouts, :extensions, :partials].include?(what) path = config.send(:"#{what}_path") root path, *a if path end |