From 845cd763f3b3cac052e333df3559dcc4c9a3383a Mon Sep 17 00:00:00 2001 From: Matt Wang Date: Tue, 13 Dec 2022 11:21:20 -0800 Subject: [PATCH] Removes `favicon.html`, shifts content to `head_custom.html` (#1027) * Removes `favicon.html`, shifts content to `head_custom.html` * explicit callout for custom favicon in customization docs * Cleaner and more consistent documentation (review from @pdmosses) Co-authored-by: Peter Mosses <18308236+pdmosses@users.noreply.github.com> --- _includes/favicon.html | 1 - _includes/head.html | 2 -- _includes/head_custom.html | 1 + docs/customization.md | 14 +++++++++++--- 4 files changed, 12 insertions(+), 6 deletions(-) delete mode 100644 _includes/favicon.html diff --git a/_includes/favicon.html b/_includes/favicon.html deleted file mode 100644 index c485d4c..0000000 --- a/_includes/favicon.html +++ /dev/null @@ -1 +0,0 @@ - diff --git a/_includes/head.html b/_includes/head.html index 5129457..0added6 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -2,8 +2,6 @@ - {% include favicon.html %} - {% if site.ga_tracking != nil %} diff --git a/_includes/head_custom.html b/_includes/head_custom.html index e69de29..c485d4c 100644 --- a/_includes/head_custom.html +++ b/_includes/head_custom.html @@ -0,0 +1 @@ + diff --git a/docs/customization.md b/docs/customization.md index f03d9e3..4a5f872 100644 --- a/docs/customization.md +++ b/docs/customization.md @@ -168,20 +168,28 @@ The (optional) `text-delta` class makes the heading appear as **Contents**{:.tex This content appears at the bottom of every page's main content. More info for this include can be found in the [Configuration - Footer content]({{ site.baseurl }}{% link docs/configuration.md %}#footer-content). -### Custom Head +### Custom Head and Favicon `_includes/head_custom.html` Any HTML added to this file will be inserted before the closing `` tag. This might include additional ``, ``, or `