A query related to baseurl in hugo doks theme #1277
-
Hello everyone. I am new to HUGO and I hope you guys will bear with me on my query. I installed VSCODE and Git on my mac. I make my website on my mac, then i sync it with Github and then I deploy the latest commit on Render. I made a website with hugo doks theme and then hosted it on Render Then I used a custom domain https://tetert.site/ Everything is good till here I then go to https://pagespeed.web.dev and I get an error (in fact two errors) 1st error `
and 2nd error
So, I saw the source code of my website it has I tried changing the baseurl in hugo.toml file to https://tetert.site/ the is still the same whereas in the website getdoks.org the base is defined as what am I doing wrong ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Did you update It should be like this: # Overrides for production environment
baseurl = "https://tetert.site/" |
Beta Was this translation helpful? Give feedback.
Did you update
config/production/hugo.toml
for your production URL?It should be like this: