Hugo theme hosted on Github not working (have tried everything)

Hi! I have seen many other posts with the same issue: my site looks good when rendering locally, but the theme doesn’t work when I host it on Github.

  • I followed Hugo’s " Host on GitHub" deploying instructions.
  • I also carefully read the theme’s instructions.
  • I have made sure I have a trailing “/” in config.toml's baseURL
  • I made sure the baseURL starts with `https://.
  • I also made sure I cloned the theme as a submodule.

my source can be found here: https://github.com/alopezespino/mysite/
and my hosting repository is the following: https://github.com/alopezespino/alopezespino.github.io

Any help is greatly appreciated! :slight_smile:

The href attribute values are not encapsulated within quotation marks, so the browser thinks that the / in /> is referencing main.css/ (a directory) instead of main.css (a file).

1 Like

Thank you @jmooring!! I added the quotes and it worked like a charm :smiley:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.