hello i have the file like
in the file the url is get like
url : bla-bla-bla
the expectation for the final render is to be example.com/es/bla-bla-bla
but for some odd reason is example.com/bla-bla-bla
so i need to add es into
url : bla-bla-bla to be
url : es/bla-bla-bla ?
It seems that you are using a forward slash at the beginning of the
url like so:
Either eliminate the forward slash like so:
bla-bla-bla or provide the language prefix like so:
Note that the above applies in Hugo versions 0.55.0 and above.
Also see the documentation about URL Management | Hugo
i dont use that
can this be a issue if netlify renders the site? i made another test on local and i dont have this on local only on netlify
What version of Hugo are you using to deploy the website on Netlify?
What happens when you use
slug instead of
url in your frontmatter and only the
bla-bla-bla as value?
i used this template GitLab Pages examples / nfhugo · GitLab
bingo i had to set HUGO_VERSION 0.81.0 and is solved
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.