how to add favicon to your website?
Posted: Sun Jul 31, 2016 7:51 am
Dear JS-Support,
is there any way to add favicon to your website from CSHTML5 project (not to edit index.html directly)?
Background info: if we want to add favicon to a web site we should edit start page (e.g. index.html) directly, e.g.:
add the following code to the <head> element:
<link rel="icon" href="http://example.com/favicon.png">
or
<link rel="shortcut icon" href="myCustomXYZFavicon.PNG">
So, our question: is it possible to do that from VisualStudio/CSHTML5 project and how?
(it's not practical to edit index.html manually as above stated, as this file is allways overwritten by CSHTML5 build)
Thanks in advance,
Best Regards,
Péter
is there any way to add favicon to your website from CSHTML5 project (not to edit index.html directly)?
Background info: if we want to add favicon to a web site we should edit start page (e.g. index.html) directly, e.g.:
add the following code to the <head> element:
<link rel="icon" href="http://example.com/favicon.png">
or
<link rel="shortcut icon" href="myCustomXYZFavicon.PNG">
So, our question: is it possible to do that from VisualStudio/CSHTML5 project and how?
(it's not practical to edit index.html manually as above stated, as this file is allways overwritten by CSHTML5 build)
Thanks in advance,
Best Regards,
Péter