page.html
This file
Path
examples/layout-control/views/page.html
8 lines · 348 bytes · HTML
Last changed by
another sidebarTj Holowaychukbefore adoptionc729d62
History of this fileTake it
123456789<h1>Page</h1><% if (path == '/alternate') { %> <% contentFor('sidebar', partial('alternate-sidebar')) %> <p>Click <a href="/">here</a> to view the default layout.</p> <p>Click <a href="/alternate2">here</a> to view another alternate page.</p><% } else { %> <p>Click <a href="/alternate">here</a> to view the alternate layout.</p><% } %>