Hello there,
In my frontmatter I have an ID property. As the name suggest, ID should be unique, but given the nature of MM, it can be easy while copying and pasting from previous pages creating a duplicate.
I was wondering whether it is possible create a custom method that during the build parse all the ID and block the execution if a duplicate is found.
Creating the array maybe not that complicate. I assume I can get access to the sitemap object and read the property from the YAML. But how to step into the build process is a total different story for which I don’t have a clue.
Any idea is appreciated.
Thanks
Andrea