Skip to content

Commit

Permalink
Fix #1004
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Jan 27, 2014
1 parent 789f7ba commit 52d087a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.txt
Expand Up @@ -9,6 +9,8 @@ Features
Bugfixes
--------

* HIDE_SOURCELINK was set to True sometimes (Issue #1004)

New in 6.3.0
============

Expand Down
2 changes: 1 addition & 1 deletion nikola/nikola.py
Expand Up @@ -305,7 +305,7 @@ def __init__(self, **config):
if config.get('PRETTY_URLS', False) and 'STRIP_INDEXES' not in config:
self.config['STRIP_INDEXES'] = True

if config.get('COPY_SOURCES') and not self.config['HIDE_SOURCELINK']:
if not config.get('COPY_SOURCES'):
self.config['HIDE_SOURCELINK'] = True

self.config['TRANSLATIONS'] = self.config.get('TRANSLATIONS',
Expand Down

0 comments on commit 52d087a

Please sign in to comment.