title: categories layout: default description: archive header-img: art/7979755845_508af4de3b_o.jpg
{% include header.html %}
<div id=“post-content”>
{% if site.categories[page.category] %} {% for post in site.categories[page.category] %} <center> {% capture post_year %}{{ post.date | date: '%Y' }}{% endcapture %} {% if forloop.first %} <h1>{{ post_year }}</h1><div class="list-group" style="display: inline-block;"> {% endif %} {% if forloop.first == false %} {% assign previous_index = forloop.index0 | minus: 1 %} {% capture previous_post_year %}{{ site.categories[page.category][previous_index].date | date: '%Y' }}{% endcapture %} {% if post_year != previous_post_year %} </div><h3>{{ post_year }}</h3><div class="list-group"> {% endif %} {% endif %} </center> <div class="bloglist-header"> <!-- <div class="bloglist-header" style="background-image: url('/{{ post.header-img }}')"> --> <div class="container"> <div class="row"> <div class="post-heading"> <h2><a href="{{ post.url }}">{{ post.title }}</a></h2> {% if post.subtitle %} <h3 class="subheading">{{ post.subtitle }}</h3> {% endif %} <span class="meta">Posted on {{ post.date | date: "%B %-d, %Y" }}</span> <br> <span class="time-tag-categ" style="font-size:.7em;background-color: #000000;"> {% assign minutes = content | number_of_words | divided_by: 180 %} <i class="fa fa-clock-o"></i> {% if minutes == 0 %}{% assign minutes = 1 %}{% endif %} {{ minutes }} minute read {% if post.tags.size > 0 %} ∼ Tagged with <i class="fa fa-tags"></i>{% if post.tags.size == 1 %} {% else %}{% endif %} : {% for tag in post.tags %}<a href="{{ site.baseurl }}/tag/{{ tag | cgi_encode }}/" data-toggle="tooltip" title="Other posts tagged with {{ tag }}" rel="tag">{{ tag }}</a>{% unless forloop.last %} • {% endunless %}{% endfor %}{% endif %} {% if post.categories.size > 0 %} ∼ Filed in <i class="fa fa-briefcase"></i>{% if post.categories.size == 1 %} {% else %}{% endif %} : {% for tag in post.categories %}<a href="{{ site.baseurl }}/{{ tag | cgi_encode }}/" data-toggle="tooltip" title="Other posts filed in {{ tag }} category" rel="tag">{{ tag }}</a>{% unless forloop.last %} • {% endunless %}{% endfor %%}{% endif %} </span> </div> </div> </div> </div> {% if forloop.last %} </div> {% endif %} <div class="container"> <div id="post-content"> <p>{{ post.excerpt }}</p> {% if post.excerpt != post.content %} <br clear="both" /> <center><a href="{{ site.baseurl }}{{ post.url }}">Read more</a></center> {% endif %} </div> </div> {% endfor %} {% else %} <p>There are no posts in this category.</p> {% endif %}
</div>