From 9a03c1512fa2eabc64cd865b9ac0af16d50833a2 Mon Sep 17 00:00:00 2001 From: Thayer Luscian Date: Wed, 17 Jan 2018 19:49:52 -0500 Subject: [PATCH] Add support for custom favicon --- _config.yml | 1 + _layouts/default.html | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index f535f1f..632cbd3 100755 --- a/_config.yml +++ b/_config.yml @@ -60,6 +60,7 @@ defaults: encoding: utf-8 # Make sure the encoding is right title: "Garth" # Site name or title logo: "/assets/logo.svg" # Site logo +# favicon: "/favicon.ico" # Uncomment to add custom favicon, or leave as is to use site logo description: "A stupidly simple theme for Jekyll, using the official Jekyll theme implementation" # Site description and default description url: "https://garth.darn.es" # Site url baseurl: "" diff --git a/_layouts/default.html b/_layouts/default.html index 98b21b8..a449351 100755 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -9,8 +9,12 @@ {{ page.title }} - {{ site.title }} {% endif %} - + + {% if site.favicon %} + + {% else %} + {% endif %}