middleman/fixtures/instance-vars-app/source/instance-var-set.html.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

3 lines
45 B
Plaintext

<% @my_var = 100 %>
<%= partial 'vartial' %>