<% Dir.entries(@dir_to_list || dir_to_list).each do |dir| %>
  <% unless dir == '.' || dir == '..' then %>
    <div>
      <a href="<%= "#{@context}/#{dir.gsub(".md",".html")}" %>">
        <%# .to_s stops errors about void variable %>
        <%= dir.gsub(".md","") %>
      </a>
    </div>
    <% end %>
<% end %>

<% Dir.entries(@dir_to_list || dir_to_list).each do |dir| %>
  <% unless dir.start_with?('.') then %>
    <div>
      <a href="<%= "#{@context}/#{dir.gsub(".md",".html")}" %>">
        <%# .to_s stops errors about void variable %>
        <%= dir.gsub(".md","") %>
      </a>
    </div>
    <% end %>
<% end %>

Update list files partial to hide hidden files
Update list files partial to hide hidden files

Previously the partial only removed files that were exactly '.' or '..'
but now it will remove anything starting with '.' (including '.' and
'..') so hidden file will also not be shown. This also is much more
readable.
