diff options
Diffstat (limited to '_site_build/archives/index.html')
| -rw-r--r-- | _site_build/archives/index.html | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/_site_build/archives/index.html b/_site_build/archives/index.html deleted file mode 100644 index 9c4644f..0000000 --- a/_site_build/archives/index.html +++ /dev/null @@ -1,32 +0,0 @@ ---- -layout: default -title: Archives -robots: follow, noindex, noodp, noydir, noarchive ---- -<section id="archives"> - <h1>Archives</h1> - {% assign show_year = true %} - {% assign show_month = true %} - {% for post in site.posts %} - {% if show_year %} - <h2>{{ post.date | date: '%Y' }}</h2> - {% endif %} - {% if show_year or show_month %} - <h3>{{ post.date | date: '%B' }}</h3> - <ol> - {% endif %} - <li> - <a href="{{ post.url }}" rel="bookmark" target="_self" title="{{ post.title }}">{{ post.title }}</a> - </li> - {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %} - {% capture pyear %}{{ post.previous.date | date: '%Y' }}{% endcapture %} - {% capture month %}{{ post.date | date: '%B' }}{% endcapture %} - {% capture pmonth %}{{ post.previous.date | date: '%B' }}{% endcapture %} - {% if year != pyear %}{% assign show_year = true %}{% else %}{% assign show_year = false %}{% endif %} - {% if month != pmonth %}{% assign show_month = true %}{% else %}{% assign show_month = false %}{% endif %} - {% if show_year or show_month %} - </ol> - {% endif %} - {% endfor %} -</section> - |
