| layout | page |
|---|---|
| title | Posts |
| permalink | /posts/ |
-
{% for post in site.posts %}
-
{%- if post.thumbnail -%}{% else %}{%- endif -%}{%- if post.thumbnail -%} {%- endif -%}
{{ post.date | date: "%Y-%m-%d" }} {% if tags != "" %}
{% for tag in post.tags %} #{{ tag }} {% endfor %} {% endif %}
{% assign tags = post.tags | join: "" %} {%- if post != site.posts[0] -%}
{%- endif -%}
{% endfor %}