Skip to content

Instantly share code, notes, and snippets.

@knoxjeffrey
Created July 11, 2015 22:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save knoxjeffrey/084acb8b0132225e5eed to your computer and use it in GitHub Desktop.
Save knoxjeffrey/084acb8b0132225e5eed to your computer and use it in GitHub Desktop.
Archive for jekyll theme
---
layout: default
---
<section class="posts postindex wrapper">
{% for post in site.posts %}
{% capture month %}{{ post.date | date: '%m%Y' }}{% endcapture %}
{% capture nmonth %}{{ post.next.date | date: '%m%Y' }}{% endcapture %}
{% if month != nmonth %}
{% if forloop.index != 1 %}</ul>{% endif %}
<h3 class="sub-header">{{ post.date | date: '%B %Y' }}</h3><ul>
{% endif %}
<h4><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h4>
<span>
Posted on <i class="fa fa-clock-o"></i><time datetime="{{ post.date | date: "%Y-%m-%d" }}">{{ post.date | date: "%B %-d, %Y" }}</time>.
</span>
{% endfor %}
</section>
<div class="profile">
{% if site.logourl != "" %}<img src="{{ site.logourl }}" class="profileimage" alt="user">{% endif %}
<h4>{{ site.title }}</h4>
<p>{{ site.description }}</p>
<hr>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment