Skip to content
Snippets Groups Projects
sidebar_blog.html 1.44 KiB
Newer Older
Augustin Lemesle's avatar
Augustin Lemesle committed
 <aside id="sidebar" role="complementary">
  <div id="sidebar_iv_point" class="inviewTop"></div>

  <div id="sidebar_wrap" class="sidebarWrap">
	<!-- <form class="searchForm" action="../index.html" data-parsley-validate="">
	  <input type="text" name="s" required="" value="" placeholder="Search for the post here"> <input type="hidden"
	  name="post_type" value="post"> <button type="submit" class="submit searchLink pull-left disabled" title=
	  "Search"><i class="icon icon-search"></i></button>

	  <div class="error" id="top_search_error" style="display: none;" role="alert">
		Enter Search Term
	  </div>
	</form> -->

	<div class="tagsList">
Augustin Lemesle's avatar
Augustin Lemesle committed

	  <nav>
Augustin Lemesle's avatar
Augustin Lemesle committed
	    {% for category in include.cats %}
		<a href="/category/{{ category | downcase }}/index.html" class="btn btnCancel active"><span>{{ category }}</span></a>
		{% endfor %}
		
		{% for category in site.categories %}
		{% unless include.cats contains category[0] %}
		{% if page.title == category[0] %}
		<a href="/category/{{ category[0] | downcase }}/index.html" class="btn btnCancel active"><span>{{ category[0] }}</span></a>
Augustin Lemesle's avatar
Augustin Lemesle committed
		{% else %}
		<a href="/category/{{ category[0] | downcase }}/index.html" class="btn btnCancel"><span>{{ category[0] }}</span></a>
Augustin Lemesle's avatar
Augustin Lemesle committed
		{% endif %}
Augustin Lemesle's avatar
Augustin Lemesle committed
		{% endunless %}
Augustin Lemesle's avatar
Augustin Lemesle committed
		{% endfor %}
	  </nav>
	</div>

	<!-- <div class="feedsList">
	  <h4>Feed</h4><a href="/html/feed.html" target="_blank">Feed</a>
	</div> -->
  </div>