<% @podcast_episodes.each_with_index do |episode,i| %>
  <a href="<%=episode.path%>" class="small-pic-link-wrapper" id="article-link-<%= episode.id %>">
    <div class="single-article single-article-small-pic">
      <div class="small-pic">
        <%=cl_image_tag(episode.image_url || episode.podcast.image_url,
         :type=>"fetch",
         :crop => "imagga_scale",
         :width => 240,
         :height => 240,
         :quality => "auto",
         :flags => "progressive",
         :fetch_format => "auto",
         :sign_url => true) %>
       </div>
      <div class="content">
        <h3><span class="tag-identifier">podcast</span><%= episode.title %></h3>
      </div>
      <h4>
      <%= episode.podcast.title %>
      </h4>
    </div>
  </a>
<% end %>
