Skip to content
David Estes edited this page May 15, 2014 · 2 revisions

What are snippets? Snippets are chunks of content that can be reused across many pages. A good example of a snippet might be a footer area that you would like the administrator to have access to make adjustments. Or maybe a sidebar section with a sponsors list.

Snippets can be injected into your site via a taglib into your gsp layouts.

<sp:snippet name="Footer"/>

Thats all there is to it.

You can also inject snippets right into your spud-cms page content with Handlebars!

{{{snippet name="Footer"}}}

NOTE: In the future, when the template language is reimplemented for dynamic page content, the snippets will also be provided as a drop in

Clone this wiki locally