spip_nursit/prive/squelettes/inclure/favicon-head.html

17 lines
691 B
HTML
Raw Permalink Normal View History

2023-06-01 15:30:12 +00:00
[(#REM) Un favicon ]
[(#CONFIG{image_process}|oui)
[(#SET{fichier,#ENV*{favicon}|sinon{#CHEMIN{images/favicon-spip.png}}})]
[(#REM) Dune certaine couleur désirée ]
[(#ENV{couleur}|oui)[(#SET{fichier,#GET{fichier}|appliquer_filtre{image_sepia,#ENV{couleur}}})]]
[(#REM) Dune certaine dimension ]
[(#SET{fichier-32,#GET{fichier}|image_passe_partout{32,32}|image_recadre{32,32,center}})]
[<link rel="shortcut icon" href="(#GET{fichier-32}|image_format{ico}|timestamp|extraire_attribut{src}|url_absolue)" type="image/x-icon" />]
]
[(#CONFIG{image_process}|non)
[<link rel="shortcut icon" href="(#CHEMIN{spip.ico}|timestamp|url_absolue)" type="image/x-icon" />]
]
#FILTRE{trim}