<div class="featured-wrapper">
    <%~set list_view = 'featured'%>
    <%~set row_index = 0%>
    <%~loop featured_articles_loop%>
    <%~if skip_first%><%if row_num == 1%><%nextloop%><%endif%><%elsif row_num > 3%><%lastloop%><%endif%>
    <%if get_thumbnail_url%>
    <%~set thumbnail_url = Plugins::UI::fetch_thumbnail($loop_value)%>
    <%~endif%>
    <%~if row_num == $show_ad%>
    <div class="featured-content col-6-12">
        <%~set adsize = '300x250'%>
        <%~include include_ad.html%>
    </div>
  <script type="text/javascript">
      if (winWidth <= 1024) { document.write('<div style="padding-bottom: 20px;">' + '</div>'); }
  </script>
    <%~endif%>
    <%~set row_index += 1%>
    <%include link.html%>
    <%~endloop%>
</div>
