Created
July 19, 2011 20:16
-
-
Save enovav/1093596 to your computer and use it in GitHub Desktop.
Blog Template Selection for "Why I Switched To Jekyll"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
layout: default | |
title: Henry Mercer | |
--- | |
{% for post in site.posts %} | |
{% capture cmonth %}{{ post.date | date: "%B" }}{% endcapture %} | |
{% unless lmonth == cmonth %} | |
{% unless forloop.first %}</ul>{% endunless %} | |
<h3>{{ cmonth }} {{ post.date | date: "%Y" }}</h3> | |
<ul class="archive"> | |
{% assign lmonth = cmonth %} | |
{% endunless %} | |
{% if post.layout == 'link' %} | |
<li><span class="time">{{ post.date | date: "%d" }}</span> <a href="{{ post.link_url }}">{{ post.title }}</a> <a href="{{ post.url }}" class="arch_permalink">∞</a></li> | |
{% else %} | |
<li><span class="time">{{ post.date | date: "%d" }}</span> <a href="{{ post.url }}" class="innerlink">{{ post.title }}</a></li> | |
{% endif %} | |
{% endfor %} | |
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
layout: default | |
--- | |
<div class="post"> | |
<h1 class="ptitle">{{ page.title }}</h1> | |
<div class="body"> | |
{{ content }} | |
</div> | |
<p class="meta"><span>{{ page.date | date: "%d %B %Y" }}</span> <span><a href="{{ page.url }}">∞</a></span></p> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment