-
-
Save jlisee/6564460 to your computer and use it in GitHub Desktop.
Revisions
-
jlisee revised this gist
Sep 14, 2013 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,4 @@ <section id="archive"> {% capture this_year %}{{ site.time | date: '%Y' }}{% endcapture %} {% capture post_year %}{{ site.posts[0].date | date: '%Y' }}{% endcapture %} -
jlisee revised this gist
Sep 14, 2013 . 1 changed file with 9 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,14 @@ <section id="archive"> {% capture this_year %}{{ site.time | date: '%Y' }}{% endcapture %} {% capture post_year %}{{ site.posts[0].date | date: '%Y' }}{% endcapture %} {% if this_year == post_year %} <h3>This year's posts</h3> {% else %} <h3>{{ post_year }}</h3> {% endif %} {%for post in site.posts %} {% unless post.next %} <ul class="this"> -
Rey Dhuny renamed this gist
Mar 12, 2013 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Rey Dhuny revised this gist
Mar 12, 2013 . 1 changed file with 14 additions and 14 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,18 +1,18 @@ <section id="archive"> <h3>This year's posts</h3> {%for post in site.posts %} {% unless post.next %} <ul class="this"> {% else %} {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %} {% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %} {% if year != nyear %} </ul> <h3>{{ post.date | date: '%Y' }}</h3> <ul class="past"> {% endif %} {% endunless %} <li><time>{{ post.date | date:"%d %b" }}</time><a href="{{ post.url }}">{{ post.title }}</a></li> {% endfor %} </ul> </section> -
Rey Dhuny renamed this gist
Mar 12, 2013 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Rey Dhuny created this gist
Mar 12, 2013 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ <section id="archive"> <h3>This year's posts</h3> {% for post in site.posts %} {% unless post.next %} <ul class="this"> {% else %} {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %} {% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %} {% if year != nyear %} </ul> <h3>{{ post.date | date: '%Y' }}</h3> <ul class="past"> {% endif %} {% endunless %} <li><time>{{ post.date | date:"%d %b" }}</time><a href="{{ post.url }}">{{ post.title }}</a></li> {% endfor %} </ul> </section>