Added logo variable to _config.yml which can be set to a path/url

Automatically replaces the title with a logo
This commit is contained in:
Silvio Giebl
2019-08-17 14:32:25 +02:00
parent 6a46a4797e
commit 132cecfea3
5 changed files with 25 additions and 1 deletions

View File

@@ -1 +1,5 @@
{{ site.title }}
{% if site.logo %}
<div class="site-logo"></div>
{% else %}
{{ site.title }}
{% endif %}