Skip to content

Commit

Permalink
Merge pull request #986 from alphagov/add-48px-favicon
Browse files Browse the repository at this point in the history
Add 48px favicon
  • Loading branch information
Jani Kraner authored Sep 21, 2018
2 parents bed7410 + 85ed6b6 commit 526e752
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@

([PR #1000](https://github.com/alphagov/govuk-frontend/pull/1000))

- Add 48px favicon

Microsoft recommends including at least a 48x48px favicon.

([PR #986](https://github.com/alphagov/govuk-frontend/pull/986))

- Pull Request Title goes here

Description goes here (optional)
Expand Down
Binary file modified src/assets/images/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion src/template.njk
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<meta name="theme-color" content="{{ themeColor | default('#0b0c0c') }}" /> {# Hardcoded value of $govuk-black #}

{% block headIcons %}
<link rel="shortcut icon" href="{{ assetPath | default('/assets') }}/images/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" sizes="16x16 32x32 48x48" href="{{ assetPath | default('/assets') }}/images/favicon.ico" type="image/x-icon" />
<link rel="mask-icon" href="{{ assetPath | default('/assets') }}/images/govuk-mask-icon.svg" color="{{ themeColor | default('#0b0c0c') }}"> {# Hardcoded value of $govuk-black #}
<link rel="apple-touch-icon" sizes="180x180" href="{{ assetPath | default('/assets') }}/images/govuk-apple-touch-icon-180x180.png">
<link rel="apple-touch-icon" sizes="167x167" href="{{ assetPath | default('/assets') }}/images/govuk-apple-touch-icon-167x167.png">
Expand Down

0 comments on commit 526e752

Please sign in to comment.