<html>
  <head>
    <title><%- file.basename %> - Marionette.js Docs</title>
    <link rel="stylesheet" href="../../styles/main.css">
  </head>
  <body>
    <div class="docs">
      <div class="docs__sidebar">
        <select>
          <% tags.forEach(function(tag) { %>
            <option value="<%- tag %>"><%- tag %></option>
          <% }); %>
        </select>
        <nav>
          <% files.forEach(function(file) { %>
            <a href="<%- file.basename %>.html"><%- file.basename %></a>
          <% }); %>
        </nav>
      </div>
      <div class="docs__content">
        <%= content %>
      </div>
    </div>
  </body>
</html>

<html>
  <head>
    <title><%- file.basename %> - Marionette.js Docs</title>
    <link rel="stylesheet" href="../../styles/main.css">
  </head>
  <body>
    <div class="docs">
      <div class="docs__sidebar">
        <select>
          <% tags.forEach(function(tag) { %>
            <% if (file.tag == tag) { %>
              <option value="<%- tag %>" selected="selected"><%- tag %></option>
            <% } else { %>
              <option value="<%- tag %>"><%- tag %></option>
            <% } %>
          <% }); %>
        </select>
        <nav>
          <% files.forEach(function(file) { %>
            <a href="<%- file.basename %>.html"><%- file.basename %></a>
          <% }); %>
        </nav>
      </div>
      <div class="docs__content">
        <%= content %>
      </div>
    </div>
  </body>
</html>

Select correct dropdown item based on doc
Select correct dropdown item based on doc

Fixes #27
