<!DOCTYPE html >
<html lang="en">
<head>
  <title><%site_title%></title>
<%include include_common_head.html%>
</head>
<body id="home">
  <%~if ad_wallpaper%>
  <%ad_wallpaper%>
  <%~endif%>
  <div class="container">
    <%include include_header.html%>

    <div class="main">
      <div class="contentwrapper clearfix">
        <%set title_loop = Links::Build::build('title', 'Races')%>
        <%include include_breadcrumb.html%>
        <section class="section category-list section-has-widgets section-reverse">
        <div class="sidebar-b">
          <%~set adsize = '300x600'%>
          <%include include_ad.html%>
          <%~set widgets_loop = Plugins::UI::fetch_widgets('races')%>
          <%~set widget_end   = $widgets_loop.length%>
          <%include include_widgets.html%>
        </div>
        <div class="content content-has-widgets">
          <div class="grid">
            <div class="col-1-1">
              <h1>Races</h1>

              <div class="cat-view grid">
                <div class="thumb col-1-2">
                  <img src="<%config.build_static_url%>/images/races_300x166.jpg" width="300" height="166" class="img-responsive" />
                </div>
                <div class="detail col-1-2">
                  <a class="label label-category" href="<%calendar_url%>">Race Calendar</a>
                  <div class="excerpts">
                    See Slowtwitch.com's North American Multisport Race Calendar along with features providing participants a greater sense of community.
                  </div>
                </div>
                <div class="more col-1-1 right">
                  <a href="<%calendar_url%>" class="btn btn-more">View Calendar</a>
                </div>
              </div>

              <%~set category_loop = Plugins::UI::fetch_categories(2)%>
              <%~loop category_loop%>
              <%include include_category.html%>
              <%~endloop%>
            </div>
          </div>
          <div class="section-divider mobile"></div>
        </div><!-- end content -->
        </section><!-- end section -->

        <div class="section-spacer"></div>

      </div><!-- End contentwrapper -->
    </div>
    <%include include_footer.html%>
  </div>
</body>
<%~include include_global_js.html%>
