page.html
This file
Path
examples/layout-control/views/page.html
8 lines · 348 bytes · HTML
Last changed by
Not known.
History of this fileTake it
The walk stopped after 200 commits: lines older than f98c112 point at it.
Added app.render() local precedence testTj Holowaychukbefore adoptionf98c112
lines 1–8why, one step back1<h1>Page</h1>2<% if (path == '/alternate') { %>3 <% contentFor('sidebar', partial('alternate-sidebar')) %>4 <p>Click <a href="/">here</a> to view the default layout.</p>5 <p>Click <a href="/alternate2">here</a> to view another alternate page.</p>6<% } else { %>7 <p>Click <a href="/alternate">here</a> to view the alternate layout.</p>8<% } %>