From 5f1c43aac968e5e752402b49b5752185e3cb0eaf Mon Sep 17 00:00:00 2001 From: Bertrand Zuchuat Date: Tue, 23 Jul 2024 10:59:53 +0200 Subject: [PATCH] fix: favicon Co-Authored-by: Bertrand Zuchuat --- .../apple-touch-icon-144-precomposed.png | Bin 4728 -> 0 bytes .../{site.webmanifest => manifest.json} | 0 .../theme/templates/rero_ils/_favicon.html | 24 ++++++++++++++++++ rero_ils/theme/templates/rero_ils/page.html | 12 ++------- .../templates/rero_ils/professional.html | 3 ++- 5 files changed, 28 insertions(+), 11 deletions(-) delete mode 100644 rero_ils/theme/static/apple-touch-icon-144-precomposed.png rename rero_ils/theme/static/{site.webmanifest => manifest.json} (100%) create mode 100644 rero_ils/theme/templates/rero_ils/_favicon.html diff --git a/rero_ils/theme/static/apple-touch-icon-144-precomposed.png b/rero_ils/theme/static/apple-touch-icon-144-precomposed.png deleted file mode 100644 index bd53973c9c88d7274f808667f08273c38dd92853..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4728 zcmd5=S5y;Bw~Ylsz#t+`s(?uE9R(>;rG+BB2Si%vRq&%DO$fb82?zvGst_PTXp!EL z-aCX|63UO96G*PC2=HfS8x@cS0N~FK0DKMu0I+!1=S={>O8@}awgdpA(g6T! zNOqIXD}3OAwYst*;P&77t)&Et_YiujYP=;}CcO{j63AUg90CC3w5p17dcMz{nJz9LTvoMT0oqK^`AWj(!^3cwv25Y2^ttTJxM=n)Gw63!@2=R4zNU505hu`DECL)_@ykGWV8o{LoVf%0mV=mCXm0UmACtU~p8Z zl|xHFY=o*0!JC5+2!M@<@XdccSdW_B2|k_92Brl}MZOY)4lMH;<3gx&W&zb8(lcPJB^hXr<%&{i7?B(i$hf+pBRUN`3w2>F@pO_wEhXnXuQP~_uM$H z?3SvMw+10;zh-l}QX193H@aRM zNw!<{v%lVP5|HO#)PgFsU9qUYe4qG5Wpx7vD+hykN*!LB$vZeJ5AUy#@&1`^@MGi$ z5Y9i-z|<$rl$j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iBR!w(OWmA2xAnK#)Ew z)VJ9l&4fEq2^+9PB@!(c-OZLX+#*;4s6hJvr<@=DZ&m*{!4?xdwbzk9rT97i-{gho zTSHG z35gGot9ZhDe?3D_kd+TJ#NE}-!3oUl=?4KbJ3u^b007_Yl_OFjHvBaH O094;. + +#} + + + + + + diff --git a/rero_ils/theme/templates/rero_ils/page.html b/rero_ils/theme/templates/rero_ils/page.html index 047f79825e..dce272d3d1 100644 --- a/rero_ils/theme/templates/rero_ils/page.html +++ b/rero_ils/theme/templates/rero_ils/page.html @@ -1,7 +1,7 @@ {# -*- coding: utf-8 -*- RERO ILS - Copyright (C) 2019 RERO + Copyright (C) 2019-2024 RERO This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by @@ -52,7 +52,6 @@ {{ title }}: {{ org_name }} {%- endblock head_title %} {%- block head_links %} - {%- if keywords %} {% endif %} {%- block head_links_langs %} @@ -62,14 +61,7 @@ {%- endfor %} {%- endif %} {%- endblock %} - {%- block head_apple_icons %} - {# TODO: generate the appropriate files #} - {%- for size in [144, 114, 72, 57] %} - {%- set icon_name = 'apple-touch-icon-%d-precomposed.png' | format(size) %} - - {%- endfor %} - {%- endblock head_apple_icons %} + {% include 'rero_ils/_favicon.html' %} {%- endblock head_links %} {%- block header %}{% endblock header %} {%- block css %} diff --git a/rero_ils/theme/templates/rero_ils/professional.html b/rero_ils/theme/templates/rero_ils/professional.html index 81a1248191..756dffe33a 100644 --- a/rero_ils/theme/templates/rero_ils/professional.html +++ b/rero_ils/theme/templates/rero_ils/professional.html @@ -1,7 +1,7 @@ {# -*- coding: utf-8 -*- RERO ILS -Copyright (C) 2019 RERO +Copyright (C) 2019-2024 RERO This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by @@ -25,6 +25,7 @@ Admin + {% include 'rero_ils/_favicon.html' %} {{ node_assets('@rero/rero-ils-ui/dist/admin', ['styles.*css'], 'css') }} {{ node_assets('@rero/rero-ils-ui/dist/admin', ['styles.*css'], 'css', 'media="print" onload="this.media=\'all\'"') }}