mirror of
https://github.com/wezm/wezm.net.git
synced 2024-12-18 18:29:54 +00:00
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>
|
||||
</head>
|
||||
<body>
|
||||
<%= render 'header' %>
|
||||
<%= render '_header' %>
|
||||
<div id="technical" class="first column">
|
||||
<div>
|
||||
<h1>Geeky
|
||||
|
@ -85,6 +85,6 @@
|
|||
|
|
||||
<a href="#older">Older »</a>
|
||||
</div>
|
||||
<%= render 'footer' %>
|
||||
<%= render '_footer' %>
|
||||
</body>
|
||||
</html>
|
2
layouts/_listing.yaml
Normal file
2
layouts/_listing.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
--- {}
|
||||
|
Loading…
Reference in a new issue