Skip to content

Add Link reference in header to favicon #12

@paceaux

Description

@paceaux

src/template/partials/header.hbs does not contain a reference to the favicon

Gruntfile.js copies the favicon.ico file into a temporary directory while serving the site: https://github.com/sdl/dxa-html-design/blob/master/design/Gruntfile.js#L201

It also copies the file for a build.

However, without a hard reference to the favicon, a browser may cache an old favicon and use that instead.

Using <link rel="icon" href="http://www.yoursite.com/favicon.ico?" /> will help assure that browsers show the correct favicon: http://stackoverflow.com/questions/2208933/how-do-i-force-a-favicon-refresh

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions