Site.BaseURL On .json

How can i access “urls.JoinPath” and “.Site.BaseURL” in to single.json file

single.json

image

You can use urls.RelURL | Hugo and urls.AbsURL | Hugo instead.

There is almost never a good reason to use this method in your templates. Its usage tends to be fragile due to misconfiguration.
Use the absURL, absLangURL, relURL, or relLangURL functions instead.
—— BaseURL | Hugo