summaryrefslogtreecommitdiff
path: root/_includes/git-wiki/sections/header/header.html
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2020-01-12 12:35:16 +0100
committerYehonal <yehonal.azeroth@gmail.com>2020-01-12 12:35:16 +0100
commitb52d6e28f0fdb22d8e0ba2e806527612ca11927d (patch)
treefa1fbf1b62d637d90d9941dcd0b863bd5fd5ad90 /_includes/git-wiki/sections/header/header.html
parentfe71b57bcdf51fec4fc275d968b4377ca42b8528 (diff)
parent294bdf6c46c22e2b0ce470de8fdf41fe9bed90ea (diff)
downloadwiki-b52d6e28f0fdb22d8e0ba2e806527612ca11927d.tar.gz
wiki-b52d6e28f0fdb22d8e0ba2e806527612ca11927d.tar.bz2
wiki-b52d6e28f0fdb22d8e0ba2e806527612ca11927d.zip
Merge branch 'master' of https://github.com/Drassil/git-wiki-theme
Diffstat (limited to '_includes/git-wiki/sections/header/header.html')
-rw-r--r--_includes/git-wiki/sections/header/header.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/_includes/git-wiki/sections/header/header.html b/_includes/git-wiki/sections/header/header.html
index 8612103..38ec85b 100644
--- a/_includes/git-wiki/sections/header/header.html
+++ b/_includes/git-wiki/sections/header/header.html
@@ -1,8 +1,10 @@
<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">
- {{ site.title }}
+ {% endif %}
+ {{ site.title | escape }}
</a>
</div>
<header class="w3-sidebar w3-bar-block w3-collapse" id="git-wiki-sidebar">
@@ -15,6 +17,8 @@
<div class="w3-hide-medium w3-hide-small">
{% if site.logo_url %}
{% include git-wiki/components/logo/logo.html %}
+ {% else %}
+ <h1>{{ site.title | escape }}</h1>
{% endif %}
</div>
@@ -50,4 +54,4 @@
$(sidebar).attr('style', 'display: block;');
}
}
-</script> \ No newline at end of file
+</script>