{% assign sorted_posts = site.posts | sort: 'title' %} {% for post in sorted_posts %}- {%- if post.tags contains 'important' and post.url contains '.html'-%} {{ post.title | escape }} {%- endif -%}
{%- endfor -%}
{%- if site.posts.size > 0 -%}
{%- for post in site.posts -%} {%- if post.url contains '.html' -%} {%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}{%- if post.layout == 'encrypted' -%}- {{ post.title | escape }} {{ post.date | date: date_format }}
{%- else -%}- {{ post.title | escape }} {{ post.date | date: date_format }}
{%- endif -%} {%- endif -%} {%- endfor -%}
{%- endif -%}