This is a tag specific to layouts. It indicates where the template will insert its
data. What are layouts &
<r:content />& the page on
Yielding content to other places within the DOM and Layout.
name="content-name" - This allows you to specify which content you are yielding.
<!-- in layout file --> <r:yield name="page_js"> <!-- this is where the content will be displayed --> <r:content /> </r:yield>
<!-- in template file --> <r:content_for name="page_js"> <!-- Your content goes here --> </r:content_for>
Last updated on December 22, 2014.
We welcome all questions, feedback and bug reports. If you're having an issue, we usually need the following information:
- A brief description of the issue
- A link to the page where you saw the issue
- Screenshots that illustrate the problem - How do I take a screenshot?