<div class="sidebar-container col-md-3">
  <ul class="sidebar-content">
    {% if site.categories %}
    <li class="collapsed active" data-toggle="collapse" data-target="#categories">
      <a href="#">Categories</a>
    </li>
    <ul id="categories" class="sub-menu collapse in">
      {% for category in site.categories %}
      <li><a href="{{ category | first | downcase | prepend: "/" | prepend: site.baseurl }}">{{ category | first }}</a></li>
      {% endfor %}
    </ul>
    {% endif %}
  </ul>
  <hr />
  <a href="{{ "/index.html" | prepend: site.baseurl }}" class="btn btn-info">All Posts</a>
</div><!-- .sidebar-container -->

<!-- Search result template -->
<script type="text/x-template" id="search-result">
  <div>
  <h2><a class="post-link" href="##Url##">##Title##</a></h2>
  <p class="post-meta">Posted ##Date## | By ##Author## in <b class="highlight-violet-red">##Category##</b></p>
  <p class="post-blurb">##Blurb##</p>
  ##Tags##
  </div>
</script>

<div class="sidebar-container col-md-3">
  <ul class="sidebar-content">
    {% if site.categories %}
    <li class="collapsed active" data-toggle="collapse" data-target="#categories">
      <a href="#">Categories</a>
    </li>
    <ul id="categories" class="sub-menu collapse in">
      {% for category in site.categories %}
      <li><a href="{{ category | first | downcase | prepend: "/" | prepend: site.baseurl }}">{{ category | first }}</a></li>
      {% endfor %}
    </ul>
    {% endif %}
  </ul>
  <hr />
  <a href="{{ "/" | prepend: site.baseurl }}" class="btn btn-info">All Posts</a>
</div><!-- .sidebar-container -->

<!-- Search result template -->
<script type="text/x-template" id="search-result">
  <div>
  <h2><a class="post-link" href="##Url##">##Title##</a></h2>
  <p class="post-meta">Posted ##Date## | By ##Author## in <b class="highlight-violet-red">##Category##</b></p>
  <p class="post-blurb">##Blurb##</p>
  ##Tags##
  </div>
</script>

Change path of all posts button.
Change path of all posts button.
