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

@@ -3,6 +3,10 @@
# only Main files contain this front matter, not partials.
---
{% if site.logo %}
$logo: "{{ site.logo | absolute_url }}";
{% endif %}
//
// Import external dependencies
//

View File

@@ -3,6 +3,10 @@
# only Main files contain this front matter, not partials.
---
{% if site.logo %}
$logo: "{{ site.logo | absolute_url }}";
{% endif %}
//
// Import external dependencies
//