---
layout: default
title: Interviews
---

<h3>By date</h3>
<ul class="years">
<% @site.archives.each do |year, data| %>
  <li>
    <a href="/interviews/<%= year %>/" title="View all interviews from <%= year %>."><strong><%= year %></strong></a>
    <ul class="months">
    <% data[:months].each_key do |month| %>
      <li><a href="/interviews/<%= year %>/<%= month %>/" title="View all interviews from <%= month %>, <%= year %>."><%= month %></a></li>
    <% end %>
    </ul>
  </li>
<% end %>
</ul>

<h3>By category</h3>
<ul class="categories">
<% @site.categories.keys.sort.each do |category| %>
  <li><a href="/interviews/<%= category %>" rel="category" title="View all <%= category.capitalize %> interviews."><%= category %></a><li>
<% end %>
</ul>
---
layout: default
title: Interviews
---

<h3>By date</h3>
<ul class="years">
<% @site.archives.each do |year, data| %>
  <li>
    <a href="/interviews/<%= year %>/" title="View all interviews in <%= year %>."><strong><%= year %></strong></a>
    <ul class="months">
    <% %w{01 02 03 04 05 06 07 08 09 10 11 12}.each do |month| %>
    <li>
    <% if data[:months].include?(month) %>
    <a href="/interviews/<%= year %>/<%= month %>/" title="View all interviews from <%= Time.mktime(year, month).strftime('%B') %> <%= year %>."><%= month %></a>
    <% else %>
    <%= month %>
    <% end %>
    </li>
    <% end %>
    </ul>
  </li>
<% end %>
</ul>

<h3>By category</h3>
<ul class="categories">
<% @site.categories.keys.sort.each do |category| %>
  <li><a href="/interviews/<%= category %>" rel="category" title="View all <%= category.capitalize %> interviews."><%= category %></a><li>
<% end %>
</ul>
Reorder the months, show a month for every year, even if we won't link to it (future months, missed one). Better link title for months.
Reorder the months, show a month for every year, even if we won't link to it (future months, missed one). Better link title for months.
