capsule/templates/index.tera

23 lines
566 B
Text
Raw Normal View History

2024-03-03 16:34:46 -06:00
{#
2024-03-04 17:09:14 -06:00
Tera template for your gemlog's index page.
2024-03-03 16:34:46 -06:00
#}# {{ feed.title }}
{% if feed.subtitle -%}
## {{ feed.subtitle }}
2024-03-05 17:02:02 -06:00
{% endif %}
2024-03-03 16:34:46 -06:00
{% for entry in feed.entries -%}
2024-03-03 19:23:27 -06:00
=> {{ entry.url }} {{ entry.updated | date(format="%Y-%m-%d") }} {{ entry.title }}
2024-03-03 18:05:49 -06:00
{%- if entry.categories -%}
{% for category in entry.categories %}#{{ category }}{% if not loop.last%} {% endif %}{% endfor %}
{% endif %}
2024-03-04 09:26:25 -06:00
{% endfor %}
2024-03-03 18:05:49 -06:00
─────
=> {{ feed.feed_url }} [gemini feed]
2024-03-15 10:49:01 -05:00
=> atom-web.xml [web feed]
2024-03-04 17:09:14 -06:00
=> {{ feed.capsule_url }} [home]
2024-03-03 18:05:49 -06:00
{% if feed.rights -%}
{{ feed.rights }}
{%- endif %}