Created
December 15, 2013 23:53
-
-
Save jaydenseric/7980025 to your computer and use it in GitHub Desktop.
Proposed syntax for SilverStripe template includes with content as a parameter like Sass mixin content.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!------------------------ AboutPage layout --> | |
<header> | |
<!-- Header stuff --> | |
<header> | |
<% include HeroBanner %> | |
{$HeroBannerContent} | |
<% end_include %> | |
{$Content} | |
<footer> | |
<!-- Footer stuff --> | |
<footer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!------------------------ Page layout --> | |
<header> | |
<!-- Header stuff --> | |
<header> | |
<% include HeroBanner %> | |
{$Content} | |
<footer> | |
<!-- Footer stuff --> | |
<footer> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment