add favicon
This commit is contained in:
parent
b89645a5cc
commit
d32cd74b52
2 changed files with 10 additions and 0 deletions
BIN
static/favicon.ico
Normal file
BIN
static/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
|
@ -160,6 +160,16 @@ declare function page:invert-lang($lang as xs:string) as xs:string {
|
||||||
if($lang = 'en') then 'ru' else 'en'
|
if($lang = 'en') then 'ru' else 'en'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
(: =============================================================== :)
|
||||||
|
(: ============================ FAVICON ========================== :)
|
||||||
|
(: =============================================================== :)
|
||||||
|
|
||||||
|
declare %rest:path("/favicon.ico")
|
||||||
|
%rest:GET
|
||||||
|
function page:favicon() {
|
||||||
|
fetch:binary('../static/favicon.ico')
|
||||||
|
};
|
||||||
|
|
||||||
(: =============================================================== :)
|
(: =============================================================== :)
|
||||||
(: ======================= SEARCH ENTRYPOINT ===================== :)
|
(: ======================= SEARCH ENTRYPOINT ===================== :)
|
||||||
(: =============================================================== :)
|
(: =============================================================== :)
|
||||||
|
|
Loading…
Add table
Reference in a new issue