{%- if site.show_excerpts -%} {{ post.excerpt }} {%- endif -%}
{%- capture total_words -%}{{ post.content | number_of_words }}{%- endcapture -%} {%- capture excerpt_words -%}{{ post.excerpt | number_of_words }}{%- endcapture -%} {%- unless total_words == excerpt_words -%} {%- endunless -%} {%- assign date_format = site.dateFormats[site.lang] | default: "%b %-d, %Y" -%} {{ post.date | date: date_format }} {% if post.author %} {%- include username.html user = post.author prepend = " | "-%} {% endif %}