Libreto : add favicon to Libreto / ajouter une favicon

:uk:/:us: How to add a favicon in to Libreto ?

My YunoHost server

Hardware: VM hosted by my administration
YunoHost version: 4.2.8.3
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : I don’t know
If yes, please explain:

Description of my issue

Hi,
I am trying to add a favicon to the Libreto app.
I first tried adding a favicon.ico file in the var/www/libreto directory, but it doesn’t seem to work.
I have tried looking at the php files but I am not sure how to do it.
Any ideas ?
Thanks :slightly_smiling_face:


:fr: Comment ajouter une favicon à Libreto ?

[…]
Bonjour,
j’essaie d’ajouter une favicon à l’appli Libreto.
J’ai d’abord essayé de mettre un fichier favicon.ico dans le dossier var/www/libreto, mais ça ne semble pas marcher.
J’ai alors jeté un oeil aux fichiers php, mais je ne sais pas trop comment faire.
Des idées ?
Merci :slightly_smiling_face:

I did not try but probably something like that in index.php

<?php
//...
echo '<link rel="icon" type="image/x-icon" href="/path_to/favicon.ico">';
//...
?>
1 Like

Thanks, I thought it would be more complicated ><

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.