CSS is missing from GitLab url
@afarian, I wonder whether this might be of any interest to you.
I have just forked https://gitlab.com/ousia/jekyll/.
I have a custom domain http://improve-presentations.tk/ (and also http://www.improve-presentations.tk/).
To get the CSS working, I have deployed the solution explained by @marcia at #4 (comment 11823245).
baseurl: "" # the subpath of your site, e.g. /blog
url: "http://www.improve-presentations.tk"
It works fine with custom domains, but it doesn’t work with https://ousia.gitlab.io/jekyll.
I realized that _includes/head.html
must be corrected to (from its original form):
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl | prepend: site.url }}">
And it still doesn’t work.
https://ousia.gitlab.io/jekyll/ contains in its header:
<link rel="stylesheet" href="http://www.improve-presentations.tk/css/main.css">
The same as in the custom domains and it works fine there.
The only thing that it comes to my mind as obstacle for CSS from working in https://ousia.gitlab.io/jekyll/ is that the site is https://
and the stylesheet is loaded with http://
.
May this block the loading of the stylesheet?