Rename partials

This commit is contained in:
Wesley Moore 2010-02-04 13:37:15 +11:00
parent f1252cb2a4
commit 65d2bcf0a6
10 changed files with 16 additions and 2 deletions

12
layouts/_article.html Normal file
View file

@ -0,0 +1,12 @@
<% post_date = WezM::Helpers.post_date(@article) %>
<li>
<abbr class="calender date" title="<%= post_date.iso8601 %>">
<span class="day"><%= post_date.day %></span>
<span class="month"><%= post_date.strftime('%b') %></span>
<span class="year"><%= post_date.year %></span>
</abbr>
<p>
<strong><a href="<%= @article.reps.first.path %>"><%= @article[:title] %></a></strong>
<%= @item[:summary] %>
</p>
</li>

View file

@ -13,7 +13,7 @@
<script src="/js/home.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<%= render 'header' %>
<%= render '_header' %>
<div id="technical" class="first column">
<div>
<h1>Geeky
@ -85,6 +85,6 @@
|
<a href="#older">Older &raquo;</a>
</div>
<%= render 'footer' %>
<%= render '_footer' %>
</body>
</html>

2
layouts/_listing.yaml Normal file
View file

@ -0,0 +1,2 @@
--- {}