Tutorial #5: SnippetsSnippets are reusable pieces of content to help keep you from typing in the same thing over and over again. For example, this help tutorial has the same menu on the left of each page in the sidebar. Instead of typing this list of links on each page, we created a snippet. Each page uses that snippet. When we need to add a tutorial page or change the name of a link, we just update the snippet, and all the tutorial pages get updated. Creating a Snippet1. Log into the CMS *Hello from my Snippet* 6. Set the Filter drop-down to “Textile” Using a snippet
<r:snippet name=”test-snippet”/>
You should now see the bold snippet text in your test page |
|