summaryrefslogtreecommitdiff
path: root/_includes/git-wiki/sections/header
diff options
context:
space:
mode:
Diffstat (limited to '_includes/git-wiki/sections/header')
-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>