Eleventy Permalink Conflict Issue: Multiple Input Files Writing to the Same Output Path

Subject: Eleventy Permalink Conflict Issue: Multiple Input Files Writing to the Same Output Path

Dear [Support Team/Forum Community],

I am experiencing a recurring issue with Eleventy where multiple input files are conflicting by writing to the same output path, specifically dist/index.html. Despite my efforts to resolve this, the problem persists. Here are the details of the issue:

Problem: During the build process with Eleventy, I encounter the following error:

[11ty] Problem writing Eleventy templates: (more in DEBUG output)
[11ty] Output conflict: multiple input files are writing to dist/index.html. Use distinct permalink values to resolve this conflict.

Files Causing the Issue: The conflicting files are as follows:

  1. ./src/site/notes/Görev Yap/Yap/03 - Bugün Yap.md
  2. ./src/site/notes/Merhaba/Support me 💜 - John's Digital Galaxy 🌌.md
  3. ./src/site/notes/Alışveriş/Mikrotik/2 - CPE710 5GHz AC 867Mbps 23dBi - 1,821.60 TL - 1990 TL.md
  4. ./src/site/notes/Alışveriş/Mikrotik/6 - Mikrotik cihazlar.md

Each of these files appears to be configured to output to dist/index.html, leading to a conflict.

Requested Solution: I am seeking assistance in resolving this permalink conflict. Specifically, I need guidance on:

  1. Identifying and fixing duplicate permalinks within my files.
  2. Ensuring that each file has a unique permalink to prevent conflicts.
  3. Best practices for configuring permalinks in Eleventy to avoid such issues in the future.

Additional Notes: As English is not my primary language, I find it challenging to navigate these issues. Your assistance and detailed guidance on how to address and resolve these conflicts would be greatly appreciated.

Thank you for your support.

Best regards,

Is it possible for you to share your source code for the project? Is it on a GitHub public repository? That would make the situation easier to debug. Also, I would encourage you to post your question in the 11ty Discord server. There is a lot of eleventy expertise there. You can find a link on how to get there here: Join our Discord Server! — Eleventy

To address your specific question, I need to ask you some questions:

  1. Do each of the files have a permalink setting in their front matter?
  2. Do you have a directory data file that is setting the permalink for all the files in the ‘notes’ directory?

Again, it would be easy to find the issue if you can share the source code to the project.

How does this relate to Obsidian?

Try one of the Digital Garden solutions that takes care of Eleventy.

Here’s a natural and flowing English translation with an analogy at the end to make it extra clear:


"Where can we share our project’s source code?
What exactly did you mean by that?

There isn’t a predefined permalink setting in each file, and today I tried adding it to many of them.
Do I need to add it to every single file?
Also, how exactly should I do that? Is there a YouTube video that could show me step by step?
Even though I’m Turkish, I don’t mind if the video is in English. It’s just that, since I’m trying to learn everything by myself, it sometimes takes me a long time to understand the logic behind things.

I also downloaded a plugin that’s supposed to set the permalink for all files in the ‘notes’ directory, but I haven’t been able to figure out how to use it yet."


And for the analogy:
It’s like trying to build a puzzle without knowing the picture on the box — I’m getting the pieces together, but I can’t quite see how they fit yet. Any guidance to help me see the whole picture would be amazing!

Again, how does your question relate to Obsidian? It sounds like someplace devoted to Eleventy would be a better place to ask.

It really would be best for you to pose your questions on the Eleventy Discord server. There are many capable people available to help. I shared the link in an earlier reply. As suggested by the later reply, this isn’t really related to Obsidian.

I joined the group you mentioned and they took very good care of me. Maybe the issue was not the eleventy issue and it was solved with issues such as permalink and dataview. So, it’s okay

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.