diff options
| author | Yehonal <yehonal.azeroth@gmail.com> | 2020-01-12 13:21:10 +0100 |
|---|---|---|
| committer | Yehonal <yehonal.azeroth@gmail.com> | 2020-01-12 13:21:10 +0100 |
| commit | a882fa29eac28cbb3b21a00e508eef1d93ec29d7 (patch) | |
| tree | 8121ed2fe1cea3f9f0bc3916444a051dd138096f /_includes | |
| parent | 294bdf6c46c22e2b0ce470de8fdf41fe9bed90ea (diff) | |
| download | wiki-a882fa29eac28cbb3b21a00e508eef1d93ec29d7.tar.gz wiki-a882fa29eac28cbb3b21a00e508eef1d93ec29d7.tar.bz2 wiki-a882fa29eac28cbb3b21a00e508eef1d93ec29d7.zip | |
testing logo with relative_url
Diffstat (limited to '_includes')
| -rw-r--r-- | _includes/git-wiki/components/logo/logo.html | 2 | ||||
| -rw-r--r-- | _includes/git-wiki/sections/header/header.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/_includes/git-wiki/components/logo/logo.html b/_includes/git-wiki/components/logo/logo.html index 375b06b..e7ad94a 100644 --- a/_includes/git-wiki/components/logo/logo.html +++ b/_includes/git-wiki/components/logo/logo.html @@ -1,5 +1,5 @@ <div class="git-wiki-main-logo"> - <a href="{{ '/' | relative_url }}"><img src="{{ site.logo_url }}"> +<a href="{{ '/' | relative_url }}"><img src="{{ site.logo_url | relative_url }}"> <h1>{{ site.title | default: site.github.repository_name | escape }}</h1> </a> <p>{{ site.description | default: site.github.project_tagline }}</p> diff --git a/_includes/git-wiki/sections/header/header.html b/_includes/git-wiki/sections/header/header.html index 38ec85b..ffbea44 100644 --- a/_includes/git-wiki/sections/header/header.html +++ b/_includes/git-wiki/sections/header/header.html @@ -2,7 +2,7 @@ <button class="w3-button w3-teal" onclick="sidebar_toggle()">☰</button> <a href="{{ '/' | relative_url }}"> {% if site.logo_url %} - <img src="{{ site.logo_url }}" width="20px"> + <img src="{{ site.logo_url | relative_url }}" width="20px"> {% endif %} {{ site.title | escape }} </a> |
