capsule/templates/index.tera

22 lines
534 B
Text
Raw Normal View History

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