BUGS in Elements CMS Build 1.5.5

@dan @ben YEAH! I think I finally figured it out…

It seems to be a Markdown parser issue, specifically related to how the Markdown files are named.

I tested several Markdown files with different file names.

Normally, when you create a new Markdown page via the Elements tool (“Create a new Markdown page”), the files are generated like this:

2025-month-day_title.md

However, when Markdown files are named simply:

one.md
two.md
three.md
four.md
five.md

…the related items feature does not work, even though all parameters in the frontmatter are identical.

But as soon as the Markdown files are renamed to something like:

site-one.md
site-two.md
site-three.md
site-four.md
site-five.md

…the related item functionality works again.

So it looks like the parser has trouble when the file name contains no hyphen or underscore before the first segment, which many people might run into if they name their blog articles only after the title.

As a result, this can cause issues when generating related items, because the system expects a certain naming pattern before the first “-” or “_”.

Attached is a Markdown file overview from my test project.

Red = related items do NOT work
Green = works

It looks like the Markdown parser always commits to only one “version.”

I tested this by deleting all Markdown files.

After uploading them again, all the files that were previously marked red suddenly worked, and the green ones stopped working.