Using Hugo with Foambubble

I’m a Hugo newbie and I use Foambubble for wikilinks (a kind of ‘Janitor’) and displaying the graph.

Using its output without the Link Reference Extensions in Hugo it represents the wikilinks as expected…

Unfortunately the path part from the basic page will be inserted into the wilkilink’s path…
If there was a possibility to create an absolute wikilink (permalink) in Hugo the problem was solved. Could it be done in partials/inline_links.html?

Thanks for suggestions