forked from wallabag/wallabag
this change adds an option to sort the feed entires by updated_at
There is now an option to sort the feed entires by updated_at, on the controler : a sort querystring argument that accepts either "created" or "updated".
This commit is contained in:
@ -11,8 +11,8 @@
|
||||
<title>wallabag — {{type}} {{ tag }} feed</title>
|
||||
<subtitle type="html">Atom feed for entries tagged with {{ tag }}</subtitle>
|
||||
{% endif %}
|
||||
{% if entries | length > 0 %}
|
||||
<updated>{{ (entries | first).createdAt | date('c') }}</updated> {# Indicates the last time the feed was modified in a significant way. #}
|
||||
{% if updated %}
|
||||
<updated>{{ updated | date('c') }}</updated> {# Indicates the last time the feed was modified in a significant way. #}
|
||||
{% endif %}
|
||||
<link rel="self" type="application/atom+xml" href="{{ app.request.uri }}"/>
|
||||
{% if entries.hasPreviousPage %}
|
||||
|
||||
Reference in New Issue
Block a user