1
0
Fork 0
forked from wezm/wezm.net
wezm.net/layouts/home.html

55 lines
2 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<%= render '_head' %>
<script src="/js/handlebars.js" type="text/javascript" charset="utf-8"></script>
<script src="/js/home.js" type="text/javascript" charset="utf-8"></script>
</head>
<body class="home">
<%= render '_header' %>
<section id="technical" class="column">
<div>
<h1><a href="/technical/articles/">Technical</a>
<sup><a href="/technical/feed/"><img src="/images/feed-icon.svg" class="feed-icon" width="12" height="12" alt="Feed Icon" /></a></sup>
</h1>
<ul class="articles">
<% technical_articles[0..4].each do |article| %>
<%= render '_article', :article => article %>
<% end %>
</ul>
<a href="/technical/articles/" class="more">More &raquo;</a>
</div>
</section>
<section id="personal" class="column">
<div>
<h1><a href="/personal/articles/">Personal</a>
<sup><a href="/personal/feed/"><img src="/images/feed-icon.svg" class="feed-icon" width="12" height="12" alt="Feed Icon" /></a></sup>
</h1>
<ul class="articles">
<% personal_articles[0..4].each do |article| %>
<%= render '_article', :article => article %>
<% end %>
</ul>
<a href="/personal/articles/" class="more">More &raquo;</a>
</div>
</section>
<section id="flickr">
<header>
<h1><a href="http://www.flickr.com/photos/wezm/">Recent Photos</a>
<sup><a href="http://api.flickr.com/services/feeds/photos_public.gne?id=40215689@N00&lang=en-us&format=atom"><img src="/images/feed-icon.svg" class="feed-icon" width="12" height="12" alt="Feed Icon" /></a></sup>
</h1>
</header>
<ul class="inline"></ul>
<a href="http://www.flickr.com/photos/wezm/" class="more">More &raquo;</a>
</section>
<%= render '_footer' %>
<script id="image-template" type="text/x-handlebars-template">
<li>
<a href="{{href}}" rel="prettyPhoto[flickr]"><img src="{{src}}" alt="{{alt}}" /></a>
</li>
</script>
</body>
</html>