Reputation: 2404
In Middleman, I can specify that I want to yield a partial located in a specific directory by using
= partial "partials/imports/js"
I'd like Middleman to know in which directory my partials reside. How do I modify config.rb so that I can just use = partial "js"
?
Upvotes: 2
Views: 1484
Reputation: 176
You can change the default partials directory by using set
in your config.rb
like this:
set :partials_dir, 'partials/imports'
Upvotes: 4