mirror of
https://github.com/jbowdre/capsule.git
synced 2024-11-26 06:42:17 +00:00
expand index template
This commit is contained in:
parent
9018b548d8
commit
887d8e54a8
1 changed files with 15 additions and 2 deletions
|
@ -11,10 +11,23 @@
|
||||||
|
|
||||||
{% if feed.subtitle -%}
|
{% if feed.subtitle -%}
|
||||||
## {{ feed.subtitle }}
|
## {{ feed.subtitle }}
|
||||||
|
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
|
||||||
{% for entry in feed.entries -%}
|
{% for entry in feed.entries -%}
|
||||||
=> {{ entry.url }} {{ entry.updated | date(format="%Y-%m-%d") }} - {{ entry.title }}
|
=> {{ entry.url }} {{ entry.updated | date(format="%Y-%m-%d") }} - {{ entry.title }}
|
||||||
{% endfor %}
|
|
||||||
|
{%- if entry.categories -%}
|
||||||
|
{% for category in entry.categories %}#{{ category }}{% if not loop.last%} {% endif %}{% endfor %}
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{%- endfor %}
|
||||||
|
|
||||||
|
─────
|
||||||
|
|
||||||
=> {{ feed.feed_url }} Atom feed
|
=> {{ feed.feed_url }} Atom feed
|
||||||
|
=> {{ feed.capsule_url }} Home
|
||||||
|
|
||||||
|
{% if feed.rights -%}
|
||||||
|
{{ feed.rights }}
|
||||||
|
{%- endif %}
|
Loading…
Reference in a new issue