Skip to content
Myr

page2.html

This file

Path

examples/layout-control/views/page2.html

4 lines · 169 bytes · HTML

Last changed by

another sidebarTj Holowaychukbefore adoptionc729d62

History of this file

Take it

sidebar exampleTj Holowaychukbefore adoption1793b50

line 1why, one step back
1<% layout('layouts/alternate') %>

another sidebarTj Holowaychukbefore adoptionc729d62

line 2why, one step back
2<% contentFor('sidebar', '<p>Another sidebar here</p>') %>

sidebar exampleTj Holowaychukbefore adoption1793b50

lines 3–4why, one step back
3<h1>Page</h1>
4<p>Click <a href="/">here</a> to view the default layout.</p>