Skip to content
Browse files

Add note about escaping {} in CONTENT_FOOTER (#2796)

Signed-off-by: Chris Warrick <>
  • Loading branch information
Kwpolska committed May 25, 2017
1 parent cfdb4f5 commit 9e901edf8c1694e8c48978b24ae5ecefeeb1c011
Showing with 2 additions and 0 deletions.
  1. +2 −0 nikola/
@@ -834,6 +834,8 @@ CONTENT_FOOTER = 'Contents &copy; {date} \
# tuples of tuples of positional arguments and dicts of keyword arguments
# to format(). For example, {'en': (('Hello'), {'target': 'World'})}
# results in CONTENT_FOOTER['en'].format('Hello', target='World').
# If you need to use the literal braces '{' and '}' in your footer text, use
# '{{' and '}}' to escape them (str.format is used)
# WARNING: If you do not use multiple languages with CONTENT_FOOTER, this
# still needs to be a dict of this format. (it can be empty if you
# do not need formatting)

0 comments on commit 9e901ed

Please sign in to comment.
You can’t perform that action at this time.