{% if model.subtitle %}

{{ model.subtitle.value }}

{% endif %}
{% for post in model.posts %}

{{ post.title }}

Published on {{ post.published_on | date: "MMMM d, yyyy" }} at {{ post.published_on | date: "h:mmtt" | downcase }} by {{ model.authors | value: post.author_id }}

{{ post.text }} {%- assign category_count = post.category_ids | size -%} {%- assign tag_count = post.tags | size -%} {% if category_count > 0 or tag_count > 0 %}

{%- if category_count > 0 -%} Categorized under: {{ cat_names | reverse | join: ", " }} {%- for cat in post.category_ids -%} {%- assign this_cat = categories | where: "id", cat | first -%} {{ this_cat.name }}, {%- assign cat_names = this_cat.name | concat: cat_names -%} {%- endfor -%} {%- assign cat_names = "" -%}
{% endif -%} {%- if tag_count > 0 %} Tagged: {{ post.tags | join: ", " }} {% endif -%}

{% endif %}
{% endfor %}