annotate src/pages/blog_new/page_meta.py @ 1050:6c98c0baa038

pages (common/blog/atom.xml): don't use query elements in request_uri: when used in self link, some search engine bots (google bot at least) are trying to retrieve page with "comments_max" query argument, which is then returned in the feed in self link, and it get added in a infinite loop.
author Goffi <goffi@goffi.org>
date Thu, 25 Jan 2018 08:17:29 +0100
parents fc1c913cc9d1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
918
96a56856d357 pages (blog_new/articles): first concert Libervia page, blog articles:
Goffi <goffi@goffi.org>
parents:
diff changeset
1 #!/usr/bin/env python2.7
96a56856d357 pages (blog_new/articles): first concert Libervia page, blog articles:
Goffi <goffi@goffi.org>
parents:
diff changeset
2 # -*- coding: utf-8 -*-
96a56856d357 pages (blog_new/articles): first concert Libervia page, blog articles:
Goffi <goffi@goffi.org>
parents:
diff changeset
3
988
d042f194624a pages (blog_new): added name ("blog_new")
Goffi <goffi@goffi.org>
parents: 918
diff changeset
4 name = u"blog_view"
1016
fc1c913cc9d1 pages (blog_new, common/blog): various blog improvments:
Goffi <goffi@goffi.org>
parents: 988
diff changeset
5 redirect = u"blog"