From 444a66a1926e7bb00851d5191b702eeeda00dd1a Mon Sep 17 00:00:00 2001 From: David Calavera Date: Mon, 28 Nov 2016 10:52:19 -0800 Subject: [PATCH] Remove favicons from the environment. It's hard to assume people will have those setup correctly from the beginning. Signed-off-by: David Calavera --- README.md | 1 - netlify.toml | 1 - site/layouts/partials/header.html | 1 - 3 files changed, 3 deletions(-) diff --git a/README.md b/README.md index 982fb25..c79eaf1 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,6 @@ Before creating the site, Netlify will ask you to fill required environment vari - `STATUSKIT_COMPANY_LOGO` - URL to your company's logo. - `STATUSKIT_SUPPORT_CONTACT_LINK` - URL to a support page for your users to talk with you. - `STATUSKIT_RESOURCES_LINK` - URL to documentation for your users. -- `STATUSKIT_FAVICONS_PATH` - Path where the favicons for different statuses are. By default, we use `/images/favicon/favicon-ok.ico` when there are no incidents, `/images/favicon/favicon-warning.ico` when there are no major incidents, and `/images/favicon/favicon-danger.ico` when there are major incidents. This path can be an external URL, like `https://my-favourite-cdn/images/status-favicons`. The names for the different statuses must be `favicon-ok.ico`, `favicon-warning.ico` and `favicon-danger.ico`. ## Extra configuration diff --git a/netlify.toml b/netlify.toml index 3a8cc0f..1e19c4d 100644 --- a/netlify.toml +++ b/netlify.toml @@ -10,4 +10,3 @@ STATUSKIT_COMPANY_LOGO = "url to your company's logo" STATUSKIT_SUPPORT_CONTACT_LINK = "url to your support page" STATUSKIT_RESOURCES_LINK = "url to your knowledge base page" - STATUSKIT_FAVICONS_PATH = "/images/favicons/" diff --git a/site/layouts/partials/header.html b/site/layouts/partials/header.html index bd978a1..e575d44 100644 --- a/site/layouts/partials/header.html +++ b/site/layouts/partials/header.html @@ -3,7 +3,6 @@ {{ $title := getenv "STATUSKIT_PAGE_TITLE" | default .Site.Title }} {{ $resources := getenv "STATUSKIT_RESOURCES_LINK" | default .Site.Params.resourcesLink }} {{ $contact := getenv "STATUSKIT_SUPPORT_CONTACT_LINK" | default .Site.Params.contactLink }} -{{ $favicons := getenv "STATUSKIT_FAVICONS_PATH" | default .Site.Params.faviconsPath }} {{ $incidents := where .Site.Pages.ByDate.Reverse "Section" "incidents" }} {{ $active := where $incidents "Params.resolved" "!=" true }}