From d24b06ad73f916145cdb23dcdd550e65c6f6fe70 Mon Sep 17 00:00:00 2001 From: Ilya Ivanov <ilya@devopsx.com> Date: Tue, 30 Jun 2020 00:12:21 +0700 Subject: [PATCH] allow custom favicon code --- _includes/favicon.html | 1 + _includes/head.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 _includes/favicon.html diff --git a/_includes/favicon.html b/_includes/favicon.html new file mode 100644 index 00000000..12c279ef --- /dev/null +++ b/_includes/favicon.html @@ -0,0 +1 @@ +<link rel="shortcut icon" href="{{ 'favicon.ico' | absolute_url }}" type="image/x-icon"> diff --git a/_includes/head.html b/_includes/head.html index 4f22497b..1e4f90e0 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -10,7 +10,7 @@ {% endif %} {% endunless %} - <link rel="shortcut icon" href="{{ 'favicon.ico' | absolute_url }}" type="image/x-icon"> + {% include favicon.html %} <link rel="stylesheet" href="{{ '/assets/css/just-the-docs-default.css' | absolute_url }}"> -- GitLab