capsule/templates/index.tera
2024-03-05 17:02:02 -06:00

22 lines
No EOL
537 B
Text

{#
Tera template for your gemlog's index page.
#}# {{ feed.title }}
{% if feed.subtitle -%}
## {{ feed.subtitle }}
{% endif %}
{% for entry in feed.entries -%}
=> {{ entry.url }} {{ entry.updated | date(format="%Y-%m-%d") }} {{ entry.title }}
{%- if entry.categories -%}
{% for category in entry.categories %}#{{ category }}{% if not loop.last%} {% endif %}{% endfor %}
{% endif %}
{% endfor %}
─────
=> {{ feed.feed_url }} [atom feed]
=> {{ feed.capsule_url }} [home]
{% if feed.rights -%}
{{ feed.rights }}
{%- endif %}