mirror of
https://github.com/Shopify/liquid.git
synced 2026-10-03 00:55:11 -07:00
Migrated from getting-liquid-to-work-in-rails v8
@@ -35,7 +35,7 @@ Insert
|
|||||||
</pre>
|
</pre>
|
||||||
in your liquid layout where you would put @<%= yield %>@ in an erb layout.
|
in your liquid layout where you would put @<%= yield %>@ in an erb layout.
|
||||||
|
|
||||||
Note: if you are collecting content with @<%= content_for :foo do %> ... <% end %>@ then there is currently no way to access this in a liquid layout.
|
Note: if you are collecting content with @<% content_for :foo do %> ... <% end %>@ then there is currently no way to access this in a liquid layout.
|
||||||
|
|
||||||
|
|
||||||
h2. Using Rails model data and methods in Liquid templates
|
h2. Using Rails model data and methods in Liquid templates
|
||||||
|
|||||||
Reference in New Issue
Block a user