getnikola/nikola — pull request #1356 by Kwpolska (2014-07-10 12:59:34+00:00)
Title: don’t generate STORY_INDEX if a conflicting story exists

This is a fix for the dreaded

ERROR: Two different tasks can't have a common target.
'output/index.html' is a target for render_pages:output/index.html and
render_indexes:output/index.html`.

This works by checking pages that would appear in the index, and if
one of them has a matching destination (i.e. slug == index), the story
index is not generated. Most users are likely to want it to work
this way.

Signed-off-by: Chris “Kwpolska” Warrick

P.S. happy Nikola Tesla day!