Skip to content

Commit 444a66a

Browse files
committed
Remove favicons from the environment.
It's hard to assume people will have those setup correctly from the beginning. Signed-off-by: David Calavera <[email protected]>
1 parent 0a81eb2 commit 444a66a

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ Before creating the site, Netlify will ask you to fill required environment vari
1616
- `STATUSKIT_COMPANY_LOGO` - URL to your company's logo.
1717
- `STATUSKIT_SUPPORT_CONTACT_LINK` - URL to a support page for your users to talk with you.
1818
- `STATUSKIT_RESOURCES_LINK` - URL to documentation for your users.
19-
- `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`.
2019

2120
## Extra configuration
2221

netlify.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,3 @@
1010
STATUSKIT_COMPANY_LOGO = "url to your company's logo"
1111
STATUSKIT_SUPPORT_CONTACT_LINK = "url to your support page"
1212
STATUSKIT_RESOURCES_LINK = "url to your knowledge base page"
13-
STATUSKIT_FAVICONS_PATH = "/images/favicons/"

site/layouts/partials/header.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
{{ $title := getenv "STATUSKIT_PAGE_TITLE" | default .Site.Title }}
44
{{ $resources := getenv "STATUSKIT_RESOURCES_LINK" | default .Site.Params.resourcesLink }}
55
{{ $contact := getenv "STATUSKIT_SUPPORT_CONTACT_LINK" | default .Site.Params.contactLink }}
6-
{{ $favicons := getenv "STATUSKIT_FAVICONS_PATH" | default .Site.Params.faviconsPath }}
76

87
{{ $incidents := where .Site.Pages.ByDate.Reverse "Section" "incidents" }}
98
{{ $active := where $incidents "Params.resolved" "!=" true }}

0 commit comments

Comments
 (0)