Skip to main content
Additional Yields

You can create additional partial content using the yield tags. This will help you reuse the content.

James Dodd avatar
Written by James Dodd
Updated over 3 years ago

How

You create a new partial page and add some content e.g.

<div id="offer"><h6>Offer 1</h6>Your offer text here</div>

Then. you can add the the new yield to the relevant page by pulling in the yield:

<yield name="offer-1"></yield>

offset-1 in this instance would be the name of of the file you saved in step 1.

Benefits

The benefit of using the partial yields would be that switch out offers and content is as simple as changing the yield tag to the new one - without having to reload or rewrite the content.

Did this answer your question?