From dd1baa6d5894c814625cdf19e71b797ab6354d9c Mon Sep 17 00:00:00 2001 From: pw3t Date: Thu, 16 Jan 2014 21:58:18 +0100 Subject: [PATCH] [fix] replace the png icons by ico's, minor chnage in the html --- searx/static/img/icon_github.ico | Bin 0 -> 6518 bytes .../{icon_soundcloud.png => icon_soundcloud.ico} | Bin searx/static/img/icon_stackoverflow.ico | Bin 0 -> 1150 bytes .../img/{icon_twitter.png => icon_twitter.ico} | Bin .../img/{icon_vimeo.png => icon_vimeo.ico} | Bin .../{icon_wikipedia.png => icon_wikipedia.ico} | Bin .../img/{icon_youtube.png => icon_youtube.ico} | Bin searx/webapp.py | 2 +- 8 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 searx/static/img/icon_github.ico rename searx/static/img/{icon_soundcloud.png => icon_soundcloud.ico} (100%) create mode 100644 searx/static/img/icon_stackoverflow.ico rename searx/static/img/{icon_twitter.png => icon_twitter.ico} (100%) rename searx/static/img/{icon_vimeo.png => icon_vimeo.ico} (100%) rename searx/static/img/{icon_wikipedia.png => icon_wikipedia.ico} (100%) rename searx/static/img/{icon_youtube.png => icon_youtube.ico} (100%) diff --git a/searx/static/img/icon_github.ico b/searx/static/img/icon_github.ico new file mode 100644 index 0000000000000000000000000000000000000000..133f0ca35428bf551b9e37376997c1b681f44cad GIT binary patch literal 6518 zcmeH~KWrRD6vp>1XB|TKf7ixoz@b1XKnf)MM_{F(LQo?`fG`NCCGT zi=t9gj#{mVelFTQ6-C!YQ8YJ~jgu(4AKz|#q>$0|(?t>fVZU}eelCvVFB*+T$8wv^ zX1m=^KEnT$`SSWCNnVTNWP^5!_)eEIJ3W2XrW*V&JAco_zXI+zgsw(UrTbr<*cs#K zbdnEz5ZyNvo0@80U$55>G#bqnIIguEo@HOF)k^h^gJ*eFaq{*w>&;Ef^QBVhRJmN< zq@9K5Hp5q|)p>j;4QoBM-Vnz#Zzaj}CfE(8>0+(czSD4FU$3|C;5mLaJT<&Y``(Qo z2r=Q9=eW=1{{Y`vjhTbr$t{QZIpZ>zKZFsMb}qvo&&kbop>;gNp98<1+2@(dUAX|~ zr2cEb{FPzWSy%7KR?~ZOsktT^^Oi5H-jj_xozCkSs78OKBha{{v2rZm-Z4B&@@WlH z!!4w}L~M<9_MMvM2;adaP|&LsdD- z1#^%*?T_vLO03Dp;QPg|S@vmohWGdt^SNM8!tpo>=^pJR4l(qN;u${nTxMU6zG1{A z&LOgCI6KEy4a=GM8FTq8x{tu~JV{p!;t8MMIMg#2tKuGn&HS_Etr?E}{`8RizHpI# zR>K;A**?%eg9^|0xoK0!Ckly^wm>Z}Fo*Zz3eUG5L#G+)^B?$f(mF8hd1afG}!mNxOXZR~sI z`Wqy+tkV%?eOg6ap4)6`6Z_i6zUTcs&HR*rCQSXzDZ-euxIksp< zATDv{=p1DaEQfxLIr|^|xAeu8ry*_5%O~< z{tuTG3)ihUjL-Md^xV{Q*vDn_-VS6rRd^Q2Innher`b>6@{L|mlTGY&7CWI_aOpi= z99wyl!(Ll9m^K{8d@f`5NAf-`{a^26!)#$PY~TLIcT8HLepbWY?Pv|F#p2>ddvBh$ z`H1iTFKWoN_nS^pPYpMczixGp+lxz_MVeu(duGOmz+T#}zObynL*bqXwTi~wxrmqH yx;Sbb%0+kia-X@V4)%5e-vW1*CBNTP6METxOqP_R+#;??Y%&9r8JNs~X5er7V8d(x literal 0 HcmV?d00001 diff --git a/searx/static/img/icon_soundcloud.png b/searx/static/img/icon_soundcloud.ico similarity index 100% rename from searx/static/img/icon_soundcloud.png rename to searx/static/img/icon_soundcloud.ico diff --git a/searx/static/img/icon_stackoverflow.ico b/searx/static/img/icon_stackoverflow.ico new file mode 100644 index 0000000000000000000000000000000000000000..b2242bc6cb1943b1954bf72b3875091bc9aa9f29 GIT binary patch literal 1150 zcmZQzU<5(|0R|wcz>vYhz#zuJz@P!dKp~(AL>x$gfiO1%0|+C7oSfYMDmJtL@lGJV2gLvFE7t#aEMNQIsciLsm-3Z%F!kuPZN&yH$BMQ8Vc4mB z^&8i+l?R;5SGQVMZw}FFJ{lz2dnXcIAB+#QhtsKIO|eVasz4yt2I}De$w~CwLnfddDnNa0tkd3nW}Eu@KM=oWnen=rx96pRdhSyn{p2Tq^irNQV$;tu?JXxz z{Z**Gmu%Bs*8ug3gVbuLKQRO9`=OHt#xB_OgT#P(bAY&xb=qrDm>S)bCrY}hPo4tx z{s-a+m^d-CUh)%uozy3%p?a%{(F0Qh)XN0aw-%~*AxxYY8t7M$-pNqC2Y@s?y1oWR y28IU45Bul;WMG)U3BmJ$Vh?~S!MK@$;UAFy0fZG97=9f7|NnnG5c31YffxX05k>?6 literal 0 HcmV?d00001 diff --git a/searx/static/img/icon_twitter.png b/searx/static/img/icon_twitter.ico similarity index 100% rename from searx/static/img/icon_twitter.png rename to searx/static/img/icon_twitter.ico diff --git a/searx/static/img/icon_vimeo.png b/searx/static/img/icon_vimeo.ico similarity index 100% rename from searx/static/img/icon_vimeo.png rename to searx/static/img/icon_vimeo.ico diff --git a/searx/static/img/icon_wikipedia.png b/searx/static/img/icon_wikipedia.ico similarity index 100% rename from searx/static/img/icon_wikipedia.png rename to searx/static/img/icon_wikipedia.ico diff --git a/searx/static/img/icon_youtube.png b/searx/static/img/icon_youtube.ico similarity index 100% rename from searx/static/img/icon_youtube.png rename to searx/static/img/icon_youtube.ico diff --git a/searx/webapp.py b/searx/webapp.py index 43bef7db9..6bd4e6097 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -141,7 +141,7 @@ def index(): result['pretty_url'] = result['url'] for engine in result['engines']: - if engine in ['wikipedia', 'youtube', 'vimeo', 'soundcloud', 'twitter', 'stackoverflow']: + if engine in ['wikipedia', 'youtube', 'vimeo', 'soundcloud', 'twitter', 'stackoverflow', 'github']: result['favicon'] = engine if engine in ['wikipedia', 'ddg definitions']: featured_results.append(result)