Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
cloudhead
committed
Oct 28, 2009
1 parent
a14ad1b
commit 081ac79
Showing
2 changed files
with
4 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<article> | ||
<header> | ||
<h1>{{title}}</h1> | ||
<span>{{date}}</span> | ||
<h1><%= article.title %></h1> | ||
<span><%= article.date %></span> | ||
</header> | ||
<section class="content"> | ||
{{content}} | ||
<%= article.content %> | ||
</section> | ||
</article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1 @@ | ||
<% for article in @articles do %> | ||
<article> | ||
<header> | ||
<h1><%= article.title %></h1> | ||
<span><%= article.date %></span> | ||
</header> | ||
<section class="content"> | ||
<%= article.content %> | ||
</section> | ||
</article> | ||
<% end %> | ||
<%= @articles %> |