Skip to content

Commit cf265ca

Browse files
committedMay 27, 2015
hey, the check command is so good it found a broken link it didn't use to find
1 parent 2b2d34b commit cf265ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎nikola/plugins/task/listings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def render_listing(in_name, out_name, input_folder, output_folder, folders=[], f
133133
os.path.join(
134134
self.kw['output_folder'],
135135
output_folder))))
136-
if self.site.config['COPY_SOURCES']:
136+
if self.site.config['COPY_SOURCES'] and in_name:
137137
source_link = permalink[:-5] # remove '.html'
138138
else:
139139
source_link = None

0 commit comments

Comments
 (0)
Please sign in to comment.