mirror of
https://github.com/jbowdre/capsule.git
synced 2024-11-29 07:32:19 +00:00
21 lines
No EOL
559 B
Text
21 lines
No EOL
559 B
Text
{#
|
|
Tera template for each individual post.
|
|
#}=> {{ feed.capsule_url }} [home]
|
|
# {{ 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 %} |