<script type="text/template" id="grid-header">
	<section class="secondary-header">
		<%
		_.each(availableCategories, function(el, i){
		%>

			<span class="subcategory"><a href="#media/<%= postType %>/category=<%= encodeURI(app.helpers.makeCompressCase(el)) %>"><%= el %></a></span>

		<%
		});
		%>
	</section>
</script>
<script type="text/template" id="grid-header">
	<section class="secondary-header">
		<%
		_.each(availableCategories, function(el, key){
		%>

			<span class="subcategory"><a href="#media/<%= postType %>/category=<%= encodeURI(app.helpers.makeCompressCase(key)) %>"><%= el %></a></span>

		<%
		});
		%>
	</section>
</script>
Fix bug where events category links don't work
Fix bug where events category links don't work
