Mercurial > libervia-web
diff libervia/pages/blog/view/page_meta.py @ 1207:67ec22356457
pages (blog/view, u): added atom feed URL to "atom_url" in template
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 19 Jul 2019 18:01:25 +0200 |
parents | 0f37b65fe7c2 |
children | b2d067339de3 |
line wrap: on
line diff
--- a/libervia/pages/blog/view/page_meta.py Sun Jul 14 17:25:53 2019 +0200 +++ b/libervia/pages/blog/view/page_meta.py Fri Jul 19 18:01:25 2019 +0200 @@ -101,6 +101,7 @@ filter_kw, SubPage(u'blog_feed_atom'), ) + request.template_data[u'atom_url'] = atom_url request.template_data.setdefault(u'links', []).append({ u"href": atom_url, u"type": "application/atom+xml",