Next you have to create a file that corresponds to the path defined in the SiteMap. So, let’s look at the src/main/webapp/index.html file:
index.html
Home
Hi, I'm a page that contains the time:
??? some time.
And a button: .
The page is valid HTML5. <body class="lift:content_id=main"> says “ignore everything on this page except the Element with id ’main’.”
<div id="main" class="lift:surround?with=default&at=content"> says “Wrap the default page chrome around this Element.”
<span class="lift:TimeNow">??? some time</span> says “Find the TimeNow snippet and transform this Element with the rules contained in that snippet.” See 7.1 on page 1↑. The result will be <span>Fri Jan 21 11:30:34 PST 2011</span>
So, that’s simple. You tell Lift what Snippet to use to transform your static content into dynamic content.