forked from wezm/wezm.net
Rename partials
This commit is contained in:
parent
f1252cb2a4
commit
65d2bcf0a6
10 changed files with 16 additions and 2 deletions
12
layouts/_article.html
Normal file
12
layouts/_article.html
Normal 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>
|
|
@ -13,7 +13,7 @@
|
||||||
<script src="/js/home.js" type="text/javascript" charset="utf-8"></script>
|
<script src="/js/home.js" type="text/javascript" charset="utf-8"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<%= render 'header' %>
|
<%= render '_header' %>
|
||||||
<div id="technical" class="first column">
|
<div id="technical" class="first column">
|
||||||
<div>
|
<div>
|
||||||
<h1>Geeky
|
<h1>Geeky
|
||||||
|
@ -85,6 +85,6 @@
|
||||||
|
|
|
|
||||||
<a href="#older">Older »</a>
|
<a href="#older">Older »</a>
|
||||||
</div>
|
</div>
|
||||||
<%= render 'footer' %>
|
<%= render '_footer' %>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
2
layouts/_listing.yaml
Normal file
2
layouts/_listing.yaml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
--- {}
|
||||||
|
|
Loading…
Reference in a new issue