annotate libervia/pages/u/atom.xml/page_meta.py @ 1466:cff720e26089

pages (blog/view): activate pagination when a single item is shown: `previous_page_url` and `next_page_url` are set when `item_id` is used. For now, they are both activated even if there is no item before or after, as it would request to make extra request to check it. This may be improved in 0.9 by using internal cache. fix 399
author Goffi <goffi@goffi.org>
date Thu, 30 Sep 2021 17:04:22 +0200
parents f511f8fbbf8a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1216
b2d067339de3 python 3 port:
Goffi <goffi@goffi.org>
parents: 1171
diff changeset
1 #!/usr/bin/env python3
1239
f511f8fbbf8a fixed shebangs
Goffi <goffi@goffi.org>
parents: 1216
diff changeset
2
1216
b2d067339de3 python 3 port:
Goffi <goffi@goffi.org>
parents: 1171
diff changeset
3 redirect = "blog_feed_atom"
b2d067339de3 python 3 port:
Goffi <goffi@goffi.org>
parents: 1171
diff changeset
4 name = "user_blog_feed_atom"