capsule/templates/post.tera
2024-03-03 19:23:27 -06:00

21 lines
523 B
Plaintext

{#
Tera template for each individual post.
#}# {{ entry.title }}
{% if entry.published != entry.updated -%}
* {{ entry.published | date(format="%Y-%m-%d") }} ~ {{ entry.updated | date(format="%Y-%m-%d") }}
{% else -%}
* {{ entry.updated | date(format="%Y-%m-%d") }}
{% endif -%}
{% if entry.categories -%}
* Categories: {{ entry.categories | join(sep=", ") }}
{% endif %}
{{ entry.body }}
─────
=> {{ feed.index_url }} Posts
=> {{ feed.capsule_url }} Home
{% if feed.rights -%}
{{ feed.rights }}
{%- endif %}