-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to resolve "styles.main.css" #15
Comments
Just FYI the same issue happened on the <div class="col-xs-12"><h3><a href="{{ .Site.BaseURL }}blog/">View All</a></h3></div> Cheers, |
This can also be solved with:
Similar issue with the
And with the favicon, which could be:
However setting the baseURL to |
When using the baseURL of "/" (as recommended in a number of places, including here), the
main.css
file is attempting to be loaded fromhttp:https://styles/main.css
, which obviously doesn't resolve anywhere.Here's the relevant line of code: https://github.com/tomanistor/osprey/blob/master/layouts/partials/header.html#L74
I fixed this by changing it to the following:
I simply removed the leading
/
beforestyles/
, so it would load from[baseUrl]/styles/main.css
.Cheers,
Aaron (insp3ctre)
The text was updated successfully, but these errors were encountered: