Skip to content

Allow favicons in formats other than svg #888

@AntonioND

Description

@AntonioND

Feature Description

Support image formats that aren't svg for the favicon image.

Problem/Solution

Currently Hextra expects you to provide svg files as the main favicon files, but that doesn't really work for images that are just bitmaps. It would be great if it could simply detect the favicon files in the format provided by the users instead of only svg. You can use the most popular formats as favicon in the most used browsers: https://www.w3schools.com/html/html_favicon.asp

Alternatives Considered

You can convert a bitmap into a svg file, for example, but that's pointless when you can just have a PNG file in that kind of situations.

Also, if I delete the demo svg files from the generated website, the favicon simply disappears. I guess the HTML code still points to the missing svg file and the browser doesn't look for other files.

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions