capsule/templates/post.tera

21 lines
523 B
Text
Raw Normal View History

2024-03-03 22:34:46 +00:00
{#
2024-03-04 01:23:27 +00:00
Tera template for each individual post.
2024-03-03 22:34:46 +00:00
#}# {{ entry.title }}
2024-03-04 01:23:27 +00:00
{% 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 %}
2024-03-03 22:34:46 +00:00
{{ entry.body }}
2024-03-04 01:23:27 +00:00
─────
=> {{ feed.index_url }} Posts
=> {{ feed.capsule_url }} Home
{% if feed.rights -%}
{{ feed.rights }}
{%- endif %}