Skip to content

Commit

Permalink
Show post's location even when it exists.
Browse files Browse the repository at this point in the history
  • Loading branch information
punchagan committed May 8, 2016
1 parent 0069bc7 commit b78a0c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nikola/plugins/command/new_post.py
Expand Up @@ -343,6 +343,9 @@ def _execute(self, options, args):
signal('existing_' + content_type).send(self, **event)

LOGGER.error("The title already exists!")
LOGGER.info("Your {0}'s text is at: {1}".format(content_type, txt_path))
if not onefile:
LOGGER.info("Your {0}'s metadata is at: {1}".format(content_type, meta_path))
return 8

d_name = os.path.dirname(txt_path)
Expand Down

0 comments on commit b78a0c1

Please sign in to comment.