capsule/templates/index.tera

22 lines
No EOL
534 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 }}{% endfor %}
{%- endif %}
{% endfor %}
─────
=> {{ feed.feed_url }} [gemini feed]
=> atom-web.xml [web feed]
=> {{ feed.capsule_url }} [home]
{% if feed.rights -%}
{{ feed.rights }}
{%- endif %}