Is there a way to add a favicon? #94
-
I looked in the to-do and couldn't see anything about favicons so forgive me if I'm blind, but I was wondering if there is a way to have favicons, I've tried everything I can think of like having a 'favicon.ico' file in the root of both the program and the vfs and also tried the custom header with some html with no luck (from what I understand, it it used for the body so it makes sense it doesn't work). Not sure if it is a limitation of node.js or something, but I believe it would be a great addition to the customisation we already have with hfs. |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 25 replies
-
the favicon is in the < head> part, while the header feature inserts stuff in the < body> part, because it's where the visible stuff is meant to be. i guess it's technically possible to put some javascript there, to manipulate the < head>, but probably not ideal. |
Beta Was this translation helpful? Give feedback.
-
You could probably do something like what you've done with html files and have an option to show an image or icon as a favicon. |
Beta Was this translation helpful? Give feedback.
-
well, i wasn't considering that serving /favicon.ico may actually be enough. |
Beta Was this translation helpful? Give feedback.
-
ok, now we know adding the favicon to the vfs is (sort of) enough. |
Beta Was this translation helpful? Give feedback.
-
while technically unnecessary, best user experience may still be to have a dedicated option in "configuration" page, i guess |
Beta Was this translation helpful? Give feedback.
-
are you english mother tongue? |
Beta Was this translation helpful? Give feedback.
-
in next release |
Beta Was this translation helpful? Give feedback.
ok, now we know adding the favicon to the vfs is (sort of) enough.
Still I have to decide what to do about it.
Letting user guess it (or google for it) is not ideal.