How do I use Middleman partials feature with passing parameter for showing different piece of a component?
For example: I have a button component (and I put it to /partials
folder with buttons.erb
name). The button has different views like big or small one.
So is there any way to include small button with such like <%= partial("partials/components/buttons#btn-small" %>
or big one like that: <%= partial("partials/components/buttons#btn-big" %>
?