since i am getting the valude from frontmatter i am expecting it to add the apropriate path after the base url. it supose to work like this i remember doing this way in past not sure what i am currently doing wrong. do you see everything good with this example?
With other words (already said above): absURL is a function that prepends the configured baseURL to the provided path as it is. It has no deeper “magic” that calculates any paths from your content structure in the background. Therefore your “returned url” is the “expected url”.
As far as I understand you use a Leaf Bundle. Therefore I would try something with resources,Get but ?.
I would be willing to test this if you would provide a repo or other running test environment.