Skip to content

Instantly share code, notes, and snippets.

@jedateach
Created July 22, 2012 22:55
Show Gist options
  • Save jedateach/3161299 to your computer and use it in GitHub Desktop.
Save jedateach/3161299 to your computer and use it in GitHub Desktop.
Using Content as a template placeholder in SilverStripe
The actual content to show up. Can also put $Content here to have DB field included.
<h1>$Title</h1>
$Content
<html>
<body>
$Layout
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment