wezm.net/layouts/listing.html

91 lines
3.4 KiB
HTML
Raw Normal View History

2010-01-26 04:09:23 +00:00
<!DOCTYPE html>
<html>
2009-11-22 06:11:43 +00:00
<head>
2010-01-26 04:09:23 +00:00
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
2009-11-22 06:11:43 +00:00
<title><%= @item[:title] %></title>
2010-01-26 05:21:57 +00:00
<link rel="stylesheet" href="/css/reset.css" type="text/css" media="screen,projection" />
<link rel="stylesheet" href="/css/style.css" type="text/css" media="screen,projection" />
2010-01-26 04:09:23 +00:00
<link rel="stylesheet" href="/css/mobile.css" type="text/css" media="only screen and (max-device-width: 480px)" />
2010-01-27 10:17:02 +00:00
<link rel="stylesheet" href="/css/prettyPhoto.css" type="text/css" media="screen" charset="utf-8" />
2010-01-26 04:09:23 +00:00
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.0/jquery.min.js" type="text/javascript"></script>
2010-01-27 10:17:02 +00:00
<script src="/js/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script>
2010-01-26 04:09:23 +00:00
<script src="/js/home.js" type="text/javascript" charset="utf-8"></script>
2009-11-22 06:11:43 +00:00
</head>
<body>
<%= render 'header' %>
2010-01-26 04:09:23 +00:00
<div id="technical" class="first column">
<div>
2010-01-26 05:48:49 +00:00
<h1>Geeky
<sup><a href="<%= feed_url %>"><img src="/images/black-feed-icon.png" width="12" height="12" /></a></sup>
</h1>
2010-01-23 06:35:09 +00:00
<ul>
2010-01-26 04:31:40 +00:00
<% sorted_articles[0..4].each do |article| %>
2010-01-23 06:35:09 +00:00
<% 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>
2010-01-26 04:09:23 +00:00
<p>
<strong><a href="<%= article.reps.first.path %>"><%= article[:title] %></a></strong>
2010-01-26 05:26:49 +00:00
A one sentence summary of this post would go here this one is longer then the other one.
</p>
2010-01-23 06:35:09 +00:00
</li>
<% end %>
</ul>
</div>
2010-01-26 04:09:23 +00:00
</div>
2010-01-23 06:35:09 +00:00
2010-01-26 04:09:23 +00:00
<div id="personal" class="column">
<div>
2010-01-26 05:48:49 +00:00
<h1>Non-Geeky
<sup><a href="<%= feed_url %>"><img src="/images/black-feed-icon.png" width="12" height="12" /></a></sup>
</h1>
2010-01-23 06:35:09 +00:00
<ul>
2010-01-26 04:09:23 +00:00
<li>
<abbr class="calender date" title="2009-09-19T04:02:43+10:00">
<span class="day">19</span>
<span class="month">Sep</span>
<span class="year">2009</span>
</abbr>
<p>
2010-01-26 05:26:49 +00:00
<strong><a href="/technical/2009/09/font-smoothing-in-snow-leopard/">A Long Post Title That Goes More Than a Line Possibly Going Into The Second Line</a></strong>
A one sentence summary of this post would go.
</p>
2010-01-26 04:09:23 +00:00
</li>
2010-01-26 04:31:40 +00:00
<% sorted_articles[5..9].each do |article| %>
2010-01-23 06:35:09 +00:00
<% 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>
2010-01-26 04:09:23 +00:00
<p>
<strong><a href="<%= article.reps.first.path %>"><%= article[:title] %></a></strong>
A one sentence summary of this post would go here.</p>
2010-01-23 06:35:09 +00:00
</li>
<% end %>
</ul>
</div>
2010-01-26 04:09:23 +00:00
</div>
2010-01-23 06:35:09 +00:00
2010-01-26 08:49:53 +00:00
<div id="flickr">
2010-01-26 04:09:23 +00:00
<!-- <h1>Photos</h1> -->
<ul class="inline">
<li>
2010-01-26 08:49:53 +00:00
Loading photos&hellip;
2010-01-26 04:09:23 +00:00
</li>
</div>
<div class="pagination">
<a href="#newer">&laquo; Newer</a>
|
<a href="#older">Older &raquo;</a>
2009-11-22 06:11:43 +00:00
</div>
<%= render 'footer' %>
</body>
</html>