Hi!
I have created a portfolio using Hugo and deploy it on github pages. The portfolio is rendering properly localy, every thing is fine. baseURL = “name.github.io/” I build it over “ananke” theme.
Drop it on github pages But when i open the site it’s not rendering properly, images are missing, links are broken. Seems like a css problem, checked that there is a main.min.css file in the public folder generated after conversion.
If anyone can help pls.
Added the statement: canonifyURLs = true
Added the “/” at the end of the baseURL name
Converted it to html using ./hugo -D
Tried all i can find internet and decided to open an issue.
Sorry if I’m off topic but you’re versioning the HTML produced by Hugo, I’m not sure it’s a good idea.
By the way if you share the source of your code it will be easiest to help you. Your config seems good but if we can try it, it will be better!
Again, your repository contains the HTML produced by Hugo, but not the source code: your Hugo’s config, the templates/layouts, the Markdown files, etc. I can’t help you.
If you just want to correct the HTML, @andrewd72 is correct.
Ah sorry for the misunderstanding…
I am trying to fix the html according to @andrewd72 solution, but i want to fix the issue in the source code too so next time i will be ready to go.
Just pushed the source code on the link : https://github.com/azioba/exampleSite_source-code