layout |
---|
default |
{% assign current_year = 0 %}
{% for post in site.posts %}
{% assign year = post.date | date: "%Y" %}
{% if current_year != year %} {% assign current_year = year %}
{% endif %}
{% if post.tags[0] == "WIP" %}
{% else %} <article class="post" style="background-color:rgb( {{ post.date | date: "%Y" |minus:2010 |times:8 }}, {{ post.date | date: "%Y" |minus:2010 |times:10 |plus: 100}}, {{ post.date | date: "%Y" |minus:2010 |times:10 |plus: 100}}, {{ post.date | date: "%Y" |minus:2010 |times:10 |plus: 100}} );"> {% endif %}{{ post.date | date: "%Y" }} {{ post.date | date: "%m" }}-{{ post.date | date: "%d" }}
{% for category in post.categories %} {{ category }} {% endfor %} {% for tag in post.tags %} #{{tag}} {% endfor %}
{{ post.excerpt }}
{% endfor %}