middleman/fixtures/instance-vars-app/source/_vartial.erb
Ben Hollis 97dc2c9742 Scenario for using instance vars to pass data to layouts and templates, and prevent
changes to instance vars being shared between different templates.
2011-12-11 20:13:41 -08:00

6 lines
68 B
Plaintext

<% if @my_var %>
My var is here!
<% else %>
No var...
<% end %>