Skip to content

Commit

Permalink
hey, the check command is so good it found a broken link it didn't us…
Browse files Browse the repository at this point in the history
…e to find
  • Loading branch information
ralsina committed May 27, 2015
1 parent 2b2d34b commit cf265ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/task/listings.py
Expand Up @@ -133,7 +133,7 @@ def render_listing(in_name, out_name, input_folder, output_folder, folders=[], f
os.path.join(
self.kw['output_folder'],
output_folder))))
if self.site.config['COPY_SOURCES']:
if self.site.config['COPY_SOURCES'] and in_name:
source_link = permalink[:-5] # remove '.html'
else:
source_link = None
Expand Down

0 comments on commit cf265ca

Please sign in to comment.