samwilson / twyne

A web-based journal for writing and photography.
GNU General Public License v3.0
8 stars 1 forks source link

Add a setting for the site favicon #176

Open revi opened 2 years ago

revi commented 2 years ago

Mostly low-priority cosmetic request: when I have a LOT of tabs (like I do here), I would like to differentiate the tabs based on the icon. (and cosmetic reasons too)

samwilson commented 2 years ago

This is a great idea. I wonder what the best way to do it is.

One simple way to do this is for site admins just to add a favicon.ico to the public/ directory. It doesn't have to be managed by the app at all.

https://favicon.io/ is an easy way to create the file.

There are other sizes and types of favicon that can be useful, so it's still worth adding support to Twyne, I think.

revi commented 2 years ago

Maybe bundle a default favicon somewhere (generated via favicon.io or something) and presence of public/favicon.ico overriding the default favicon? Or just display favicon when public/favicon.ico without the bundled favicon? Also while we are at public directory... I got some idea for... #178 .