Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

false permalinks: v0.9.0-beta.1 wants distinct values to resolve conflict #639

Closed
paulrobertlloyd opened this issue Jul 30, 2019 · 2 comments
Assignees
Milestone

Comments

@paulrobertlloyd
Copy link
Contributor

Describe the bug
I have folder whose contents I don’t want written to disk, so set the permalink value to false in the folder data file:

{
  "permalink": false,
  "tags": ["testimonial"],
  "vocab": "review"
}

Eleventy build fails with DuplicatePermalinkOutputError.

Environment:

  • OS and Version: macOS 10.14.6
  • Eleventy Version: 0.9.0-beta.1

Additional context
0.9.0-beta.1 doesn’t like this!

Problem writing Eleventy templates: (more in DEBUG output)
> Output conflict: multiple input files are writing to `false`. Use distinct `permalink` values to resolve this conflict.
  1. ./src/_content/testimonials/emma_begg.md
  2. ./src/_content/testimonials/richard_rutter.md

`DuplicatePermalinkOutputError` was thrown:
    (Repeated output has been truncated…)
        at TemplateMap.checkForDuplicatePermalinks (/Users/paulrobertlloyd/Sites/paulrobertlloyd-v4/node_modules/@11ty/eleventy/src/TemplateMap.js:535:13)
        at TemplateMap.cache (/Users/paulrobertlloyd/Sites/paulrobertlloyd-v4/node_modules/@11ty/eleventy/src/TemplateMap.js:310:10)
        at async TemplateWriter._createTemplateMap (/Users/paulrobertlloyd/Sites/paulrobertlloyd-v4/node_modules/@11ty/eleventy/src/TemplateWriter.js:124:3)
        at async TemplateWriter.write (/Users/paulrobertlloyd/Sites/paulrobertlloyd-v4/node_modules/@11ty/eleventy/src/TemplateWriter.js:155:3)
        at async Eleventy.write (/Users/paulrobertlloyd/Sites/paulrobertlloyd-v4/node_modules/@11ty/eleventy/src/Eleventy.js:423:13)
@paulrobertlloyd paulrobertlloyd changed the title false permalinks: v0.9.0-beta.1 wants distinct permalink values to resolve conflict false permalinks: v0.9.0-beta.1 wants distinct values to resolve conflict Jul 30, 2019
@zachleat zachleat self-assigned this Jul 31, 2019
@zachleat zachleat added bug and removed needs-triage labels Jul 31, 2019
@zachleat zachleat added this to the 0.9.0 milestone Jul 31, 2019
@zachleat
Copy link
Member

Ugh wow, yep. Sorry about that!

@zachleat
Copy link
Member

zachleat commented Jul 31, 2019

I’ll push another beta here after I triage a few more issues but this is fixed and will go out with 0.9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants