What happens with the slug if 2 files have the same name with different dates?

Hi,

since zola strips dates from filenames when making it a slug, I am wondering what happens when there are 2 files named “the same” but using different names in the same folder. For example:

2023-06-16-twim.md and 2023-06-23-twim.md.

Looking at the code, I assume this causes a conflict while it is clearly 2 different articles, which is made clear by the date. In this example, it is a weekly recurring “This week in X” article. So having the same filename is expected.

I wonder is it expected/intended to conflict, or is it intended to resolve the conflict but simply not doing this currently?

See Add an option to integrate the date into the path · Issue #1662 · getzola/zola · GitHub