{{ page.title }}
{% assign playlistsCounter = 0 %} {% assign adventuresCounter = 0 %} {% assign codeCounter = 0 %} {% assign notesCounter = 0 %} {% assign teachingCounter = 0 %} {% assign epicurean = 0 %} {% assign playlistThumbs = '' %} {% for post in site.posts reversed %} {% capture year %}{{post.date | date: "%Y"}}{% endcapture %} {% capture pageYear %}{{ page.title }}{% endcapture %} {% if year == pageYear %} {% if post.categories[0] == 'playlists' %}{% assign playlistsCounter = playlistsCounter | plus:1 %}{% endif %} {% if post.categories[0] == 'adventures' %}{% assign adventuresCounter = adventuresCounter | plus:1 %}{% endif %} {% if post.categories[0] == 'code' %}{% assign codeCounter = codeCounter | plus:1 %}{% endif %} {% if post.categories[0] == 'notes' %}{% assign notesCounter = notesCounter | plus:1 %}{% endif %} {% if post.categories[0] == 'epicurean' %}{% assign epicureanCounter = epicureanCounter | plus:1 %}{% endif %} {% if post.categories[0] == 'teaching' %}{% assign teachingCounter = teachingCounter | plus:1 %}{% endif %} {% endif %} {% endfor %}{% if adventuresCounter > 0 %}I had {{ adventuresCounter }} adventure{% if adventuresCounter > 1 %}s{% endif %}.{% endif %} {% if codeCounter > 0 %}I wrote about code {{ codeCounter }} time{% if codeCounter > 1 %}s{% endif %}.{% endif %} {% if teachingCounter > 0 %}I taught {{ teachingCounter }} class{% if teachingCounter > 1 %}es{% endif %}.{% endif %} {% if notesCounter > 0 %}I wrote {{notesCounter}} note{% if notesCounter > 1 %}s{% endif %}.{% endif %} {% if epicureanCounter > 0 %}I made {{epicureanCounter}} new treat{% if epicureanCounter > 1 %}s{% endif %}.{% endif %} {% if playlistsCounter > 0 %}I made {{ playlistsCounter }} playlist{% if playlistsCounter > 1 %}s{% endif %}.{% endif %} {% for post in site.data.life %}{% capture year %}{{ post.date | date: "%Y" }}{% endcapture %}{% capture pageYear %}{{ page.title }}{% endcapture %}{% if year == pageYear %}{{post.note}}{% endif %}{% endfor %}