Skip to content

Commit

Permalink
Add more data to the index content bundle, and leverage it
Browse files Browse the repository at this point in the history
  • Loading branch information
lmarkus committed Dec 4, 2013
1 parent b6830ab commit 05a32c1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
3 changes: 2 additions & 1 deletion locales/US/en/index.properties
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
index.greeting=Hello, {name}!
index.greeting=Welcome to the Kraken Store. Your one-stop-shop for kraken merchandise.
index.addToCart=Add to cart
12 changes: 10 additions & 2 deletions public/templates/index.dust
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
{>"layouts/master" /}

{<title}
Product List
{/title}

{<body}
<h1>{@pre type="content" key="index.greeting"/}</h1>
{/body}
<main role="main">
<p>{@pre type="content" key="index.greeting"/}</p>
<div class="products">
</div>
</main>
{/body}

0 comments on commit 05a32c1

Please sign in to comment.