Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a16cc03

Browse files
committedJul 12, 2015
Fixed 8a1b4fc after screwing up in rebase.
1 parent 4cbf1aa commit a16cc03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎nikola/plugins/command/init.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def prepare_config(config):
209209
"""Parse sample config with JSON."""
210210
p = config.copy()
211211
p.update({k: json.dumps(v, ensure_ascii=False) for k, v in p.items()
212-
if k not in ('POSTS', 'PAGES', 'COMPILERS', 'TRANSLATIONS', 'NAVIGATION_LINKS', '_SUPPORTED_LANGUAGES', '_SUPPORTED_COMMENT_SYSTEMS', 'INDEX_READ_MORE_LINK', 'RSS_READ_MORE_LINK', 'STRIP_INDEXES', 'PRETTY_URLS')})
212+
if k not in ('POSTS', 'PAGES', 'COMPILERS', 'TRANSLATIONS', 'NAVIGATION_LINKS', '_SUPPORTED_LANGUAGES', '_SUPPORTED_COMMENT_SYSTEMS', 'INDEX_READ_MORE_LINK', 'RSS_READ_MORE_LINK')})
213213
# READ_MORE_LINKs require some special treatment.
214214
p['INDEX_READ_MORE_LINK'] = "'" + p['INDEX_READ_MORE_LINK'].replace("'", "\\'") + "'"
215215
p['RSS_READ_MORE_LINK'] = "'" + p['RSS_READ_MORE_LINK'].replace("'", "\\'") + "'"

0 commit comments

Comments
 (0)
Please sign in to comment.