Skip to main content


<r:yield />

This is a tag specific to layouts. It indicates where the template will insert its data. What are layouts & r:yield?

See also: <r:content_for />, <r:content />& the page on Yielding content to other places within the DOM and Layout.

attribute options

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 />

<!-- in template file -->
<r:content_for name="page_js">
    <!-- Your content goes here -->

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?

Kindly email for help or use the form on the request help page.