{%- assign article_id = post.date | date: '%Y-%m-%d-' | append: post.title | slugify -%}
{%- if post.draft -%}
  • Draft
{%- endif -%} {%- assign article_cover_path = "/_static/posts/" | append: article_id | append: ".jpg" -%} {%- assign article_cover_path_exist = site.static_files | where: "path", article_cover_path | first -%} {%- unless article_cover_path_exist -%} {%- assign article_cover_path = "/_core/static/img/default/article-cover.jpg" -%} {%- endunless -%}
{{article_id}}
{{ post.title }}
{{ post.description }}
{{ post.date | date: '%B %d, %Y' }}
{{ post.time_reading_minutes }} min