It doesn’t really make any difference. Hugo can work with both of these formats within a single project.
Right. So you have set the
baseURL: blog.blended.io and this is published on Gitlab Pages at
I suppose that the above is just a temporary URL since the final one will be
blog.blended.io. As a rule of thumb it’s always best to test a website by making the
baseURL value exactly the same as the URL under which the project will be published.
But in this particular case the missing stylesheet has the wrong URL for another reason. If you have a look at:
You will see that the theme author has entered a forward slash in the beginning of the
That forward slash points to the host root of a domain. You have assigned your project’s
baseURL to a subdomain and Hugo cannot guess the correct URL in this scenario.
Therefore you need to override the above partial from the theme you’ve chosen to use.
Under the root of your Hugo project there is already an empty
Within this directory replicate the folder structure of the above partial. i.e.
inject.stylesheet.html enter the following:
<link rel="stylesheet" href="assets/style.css">
Test again and if this does not fix the missing CSS then test your project under its intended subdomain and not the GitLab one.