Skip to content
Myr

page.html

This file

Path

examples/layout-control/views/page.html

8 lines · 348 bytes · HTML

Last changed by

Not known.

History of this file

Take it

The walk stopped after 200 commits: lines older than a751346 point at it.

port some express(1) stuff from 2.xTj Holowaychukbefore adoptiona751346

lines 1–8why, one step back
1<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<% } %>