So I have a JSON where I'm fetching data.
Example of JSON:
{
"postid": "123123,
"title": "title of post",
}
I'm trying to add this id inside an href like <a href="https://example.com/{data.post}">Post</a>
but it doesn't render, I get a https://example.com/{data.post} url in the frontend. (Doing <p>{data.post}</p>
renders the post ID normally.)
Is there a way to get the field inside an href tag? Or should I make another field on my JSON with the full URL?