_config.yml.dist says that logo_url is "Url of logo image, it can be full, absolute or relative", but it cannot be relative. If the URL is relative, then the logo is not displayed on blog posts which are in subdirectories.
Go to git-wiki/blog/posts/2018/12/17/first-post.html.
The logo is not displayed. See a screenshot below.
Expected behavior
The logo is displayed correctly.
Screenshots
Desktop:
OS: Windows 10
Browser: Google Chrome
Version: 79.0.3945.88
Additional context
There are also small issues related to the logo. I noticed:
[ ] The logo is not displayed when logo_url is relative. (Main issue)
[x] When being the mobile layout, a img tag for logo is generated even if logo_url is not set (this line).
[ ] On the gh-pages branch, logo_url is using HTTP, not HTTPS. This may cause the mixed content error. Currently this error doesn't occur because //www.drassil.org/ is served over HTTP (on the other hand //***.github.io/ is served over HTTPS).
Describe the bug
_config.yml.dist
says thatlogo_url
is "Url of logo image, it can be full, absolute or relative", but it cannot be relative. If the URL is relative, then the logo is not displayed on blog posts which are in subdirectories.To Reproduce
I used the gh-pages branch of this repository to reproduce.
Change
logo_url
in_config.yml
to be relative.Go to
git-wiki/blog/posts/2018/12/17/first-post.html
.The logo is not displayed. See a screenshot below.
Expected behavior
The logo is displayed correctly.
Screenshots
Desktop:
Additional context
There are also small issues related to the logo. I noticed:
logo_url
is relative. (Main issue)logo_url
is not set (this line).logo_url
is using HTTP, not HTTPS. This may cause the mixed content error. Currently this error doesn't occur because//www.drassil.org/
is served over HTTP (on the other hand//***.github.io/
is served over HTTPS).