Skip to content

Commit

Permalink
Create a content bundle for the master layout. Start modifying the ma…
Browse files Browse the repository at this point in the history
…ster layout to leverage it
  • Loading branch information
lmarkus committed Dec 4, 2013
1 parent a803626 commit b6830ab
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 7 deletions.
4 changes: 4 additions & 0 deletions locales/US/en/layouts/master.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
master.storeName=The Kraken Store
master.buy=Buy our products!
master.edit=Product Editor
master.cart=View Cart
26 changes: 19 additions & 7 deletions public/templates/layouts/master.dust
Original file line number Diff line number Diff line change
@@ -1,14 +1,26 @@
<!DOCTYPE html>
<html lang="en">
<html lang="en" class="nm-np">
<head>
<meta charset="utf-8" />
<meta charset="utf-8"/>
<title>{+title /}</title>
<link rel="stylesheet" href="css/app.css" />
<link rel="stylesheet" href="css/app.css"/>
</head>
<body>
<div id="wrapper">
<body class="nm-np">
<header class="grey">
<div class="wrapper">
<h1>{@pre type="content" key="master.storeName"/}</h1>
<nav>
<ul class="nm-np inline">
<li><a href="/">{@pre type="content" key="master.buy"/}</a></li>
<li><a href="/products">{@pre type="content" key="master.edit"/}</a></li>
<li><a href="/cart">{@pre type="content" key="master.cart"/}</a></li>
</ul>
</nav>
</div>
</header>
<div class="wrapper">
{+body /}
</div>

<div id="tentacle"></div>
</body>
</html>
</html>

0 comments on commit b6830ab

Please sign in to comment.