My Hugo theme doesn't load , only bare html

Hi!
I tried to publish my Hugo in Netlify. in the local server it works fine but in here it doesn’t show any style of the theme.
The Netlify Site
And the repo address:

Can you tell me what is wrong?
thanks.

In your config.toml, configure your Netlify website’s URL in place of the current baseURL and try.

1 Like

@m11ad You need to check your settings, as you have two issues to fix.

First, you need to set your domain name (or use local paths) instead of “example.org”, and second you need to change to https from http. This is the code on your page:

<link rel="stylesheet" href="http://example.org/dist/site.css">
<link rel="stylesheet" href="http://example.org/dist/syntax.css">
<script src="http://example.org/js/jquery-1.11.3.min.js"></script>
<script src="http://example.org/js/jquery.fitvids.js"></script>
<script src="http://example.org/js/scripts.js"></script>

Does this documentation help?

1 Like

Yes thank you, I forgot to config the baseURL . by default it’s example.org. so that’s where it come from.