Skip to content

Duplicate output posts

Mason X edited this page Sep 2, 2016 · 2 revisions

Duplicate output posts

Problem

nu will automatically remove non-websafe characters from a post's input filename and replace them with -.

Here's a list of characters that are removed:

  • #
  • /
  • !
  • '
  • "
  • \
  • ?

If the end result of the replacing between two files ends up with the same end result filename, nu will not build the website.

Here's an example:

  • Input file #1: 2015-05-10-Test post 1.md -> 2015-05-10-Test-post-1.md
  • Input file #2: 2015-05-10-Test#post?1.md -> 2015-05-10-Test-post-1.md

The two will both end up as 2015-05-10-Test-post-1.md, so nu will detect this and bail out with an error message.

Fixing the error

To fix this error, just make sure that the posts won't end up having the same name in the output.

Welcome to the nu wiki!

Check out the Getting Started page for information on how to start.

For configuration help, see the Configuration page.

Need help with errors? Try looking at this page.

Clone this wiki locally