Created
January 27, 2011 22:54
-
-
Save KirinDave/799477 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| <div id="main" class="lift:surround?with=default&at=content"> | |
| <div> | |
| This demonstrates Lift's recursive snippets | |
| </div> | |
| <div class="lift:Recurse"> | |
| <div id="first" class="lift:FirstTemplate"> | |
| The first template. | |
| </div> | |
| <div id="second" class="lift:SecondTemplate"> | |
| The second template. | |
| </div> | |
| </div> | |
| <div> | |
| <ul> | |
| <li>Recursive: <a href="/recurse/one">First snippet</a></li> | |
| <li>Recursive: <a href="/recurse/two">Second snippet</a></li> | |
| <li>Recursive: <a href="/recurse/both">Both snippets</a></li> | |
| </ul> | |
| </div> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment