--- --- {% assign title = site.title | default: site.name %} {% if title %} # {{ title | smartify | xml_escape }} {% endif %} {% if site.description %} ## {{ site.description | xml_escape }} {% endif %} {% unless site.show_drafts %} {% assign posts = site.posts | where_exp: "post", "post.draft != true" %} {% endunless %} {% assign posts = posts | sort: "date" | reverse %} {% for post in posts %} {% assign post_title = post.title | smartify | strip_html | normalize_whitespace | xml_escape %} => {{ post.url }} {{ post.date | date: "%Y-%m-%d" }} {{ post_title }} {% endfor %}