# HG changeset patch # User Goffi # Date 1453490550 -3600 # Node ID de17f7313cbe8f03985d505b1c0169f9ae6dc3ed # Parent 0dfb76b13115ef92341751e71fb6ab191a29d67e server (blog): fixed atom feed link diff -r 0dfb76b13115 -r de17f7313cbe src/server/blog.py --- a/src/server/blog.py Fri Jan 22 20:22:30 2016 +0100 +++ b/src/server/blog.py Fri Jan 22 20:22:30 2016 +0100 @@ -452,7 +452,9 @@ avatar = os.path.normpath('/{}'.format(getOption('avatar'))) title = getOption(C.STATIC_BLOG_PARAM_TITLE) or user - data = {'base_url': base_url, + query_data = urllib.urlencode(getDefaultQueryData(request)).decode('utf-8') + data = {'url_base': base_url, + 'url_query': u'?{}'.format(query_data) if query_data else '' , 'keywords': getOption(C.STATIC_BLOG_PARAM_KEYWORDS), 'description': getOption(C.STATIC_BLOG_PARAM_DESCRIPTION), 'title': title, diff -r 0dfb76b13115 -r de17f7313cbe themes/default/static_blog.html --- a/themes/default/static_blog.html Fri Jan 22 20:22:30 2016 +0100 +++ b/themes/default/static_blog.html Fri Jan 22 20:22:30 2016 +0100 @@ -45,7 +45,7 @@ {% if entry.tags %} {% endif %} @@ -86,7 +86,7 @@ - + @@ -95,7 +95,7 @@
- + {{ image(banner_img) }} {{ title }} @@ -127,7 +127,7 @@
Subscribe to this news feed - + Atom feed