We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a4cd48 commit 7ab1862Copy full SHA for 7ab1862
CHANGES.txt
@@ -1,4 +1,4 @@
1
-New in Master
+New in master
2
=============
3
4
Features
@@ -7,6 +7,7 @@ Features
7
Bugfixes
8
--------
9
10
+* Fix reST post list date formatting error (Issue #2104)
11
* /robots.txt was never being built (Issue #2098)
12
13
New in v7.7.1
nikola/plugins/compile/rest/post_list.py
@@ -204,7 +204,8 @@ def run(self):
204
template_data = {
205
'lang': lang,
206
'posts': posts,
207
- 'date_format': self.site.GLOBAL_CONTEXT.get('date_format'),
+ # Need to provide str, not TranslatableSetting (Issue #2104)
208
+ 'date_format': self.site.GLOBAL_CONTEXT.get('date_format')[lang],
209
'post_list_id': post_list_id,
210
}
211
output = self.site.template_system.render_template(
0 commit comments