Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Show post's location even when it exists.
- Loading branch information
Showing
with
3 additions
and
0 deletions.
-
+3
−0
nikola/plugins/command/new_post.py
|
@@ -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) |
|
|