Skip to content

Commit

Permalink
fix templates
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhead committed Oct 28, 2009
1 parent a14ad1b commit 081ac79
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
6 changes: 3 additions & 3 deletions templates/article.html
@@ -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>
12 changes: 1 addition & 11 deletions templates/pages/home.html
@@ -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 %>

0 comments on commit 081ac79

Please sign in to comment.