summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornekketsuuu <nekketsuuu@users.noreply.github.com>2020-01-04 13:54:56 +0900
committerYehonal <yehonal.azeroth@gmail.com>2020-01-06 08:49:30 +0100
commitd6389dfe1fe101a465054793ddd973ddf6b50092 (patch)
tree0650b9190ad943f49394ec5fad6fa592fc67ea51
parent8c447f9f53c9630d525b1d1cdaf80038c875d944 (diff)
downloadwiki-d6389dfe1fe101a465054793ddd973ddf6b50092.tar.gz
wiki-d6389dfe1fe101a465054793ddd973ddf6b50092.tar.bz2
wiki-d6389dfe1fe101a465054793ddd973ddf6b50092.zip
don't output logo if logo_url is not set
-rw-r--r--_includes/git-wiki/sections/header/header.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/_includes/git-wiki/sections/header/header.html b/_includes/git-wiki/sections/header/header.html
index 8612103..8c7f5bb 100644
--- a/_includes/git-wiki/sections/header/header.html
+++ b/_includes/git-wiki/sections/header/header.html
@@ -1,7 +1,9 @@
<div class=" w3-xlarge w3-hide-large" id="git-wiki-mobile-header">
<button class="w3-button w3-teal" onclick="sidebar_toggle()">&#9776;</button>
<a href="{{ '/' | relative_url }}">
+ {% if site.logo_url %}
<img src="{{ site.logo_url }}" width="20px">
+ {% endif %}
{{ site.title }}
</a>
</div>