We can’t know unless we see your site’s source files. Completely guessing, your templates or baseURL is loading relative links throughout. For more help, please link to your site’s files.
I see what you mean. I also notice that on the other pages the menu works normally. Test it on http://statds.org/template/, menu works.
Unfortunately, I don’t have a lot of experience with menus. It’s strange, because the menu in your config matches the menu in the theme’s exampleSite config.
You can try searching these forums for discussions about menu links, there might be a solution. Or, you could open an issue with the theme author. And someone else will probably come along and know the answer.
Scratch that, I think it is something about your index page and S3. When I clone your site, it works fine locally. It works for you, too? Maybe something with the aws s3 sync.
To test it, I’d manually upload the index.html from your local public directory, and see if that fixes it. Then you know where it is breaking.
Thank you so much for your help! It’s indeed weird that the url works on http://statds.org/template/. And the whole site works perfectly in my local host as well. I also think it’s a problem with the CI process with S3, I will keep trouble shooting this and update the post if the problem is solved.
Hi Rick, you’re right about it. I checked the post and used | absURL after each .URL call in the layout files and set the relURL as false in config files. Then after deployment the urls function as expected. Thanks a lot for your help! Saved a lot of time for me.
Hi al I’m still desperately struggling with this issue with the Airspace Themefisher theme. The layouts folder contains only references to BaseURL (i.e. {{ .Site.BaseURL }}img/logo.png). I’ve tried changing the config.toml to have relativeURLS = false but that doesn’t seem to work.
The website has been working as expected locally…Should I change the theme’s layouts as per tracyghz to add absURL everywhere where I BaseURL?
I’m not sure why I should change the theme to begin with, since that’s supposed to be correct?