diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2019-03-25 21:05:35 +0000 |
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2019-03-25 21:05:35 +0000 |
| commit | e1f06b311652786b2a3c9dd5981bbe9b51383d1a (patch) | |
| tree | 6a584596d2d402f6eeb1e4bc14374a76fb8e1dec /_site_build/archives/index.html | |
| parent | 4972068ab2e97a017e28f4e7b91858f9fcaeceb6 (diff) | |
Begining of rebuild.
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> - |
