Skip to content
Myr

better layout control example

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 509601e · Browse files · 8 files+65 added−22 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

8 files+65 added−22 removed

  • other:+65 added−22 removed

8 files+65 added−22 removed

deleted:examples/layout-control/views/layouts/alternate.ejs-6 removed
1<html>2 <body>3 <h1>Alternate Layout</h1>4 <%- body %>5 </body>6</html>
added:examples/layout-control/views/layouts/alternate.html+26 added
deleted:examples/layout-control/views/layouts/default.ejs-6 removed
1<html>2 <body>3 <h1>Default Layout</h1>4 <%- body %>5 </body>6</html>
added:examples/layout-control/views/layouts/default.html+16 added
deleted:examples/layout-control/views/pages/alternate.ejs-2 removed
1<% layout('layouts/alternate') %>2<h1>Page</h1>
deleted:examples/layout-control/views/pages/default.ejs-1 removed
1<h1>Page</h1>
added:examples/layout-control/views/page.html+6 added
modified:examples/layout-control/app.js+17 added-7 removed