Navigation Menu

Skip to content

Commit

Permalink
Add note about escaping {} in CONTENT_FOOTER (#2796)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed May 25, 2017
1 parent cfdb4f5 commit 9e901ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nikola/conf.py.in
Expand Up @@ -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)
Expand Down

0 comments on commit 9e901ed

Please sign in to comment.