[openwrt/openwrt] README: mv logo.svg include/logo.{png,svg}

LEDE Commits lede-commits at lists.infradead.org
Tue Dec 1 15:18:31 EST 2020


aparcar pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/f281aca97821ece3990b3082bfb14b6fa63ddec4

commit f281aca97821ece3990b3082bfb14b6fa63ddec4
Author: Paul Spooren <mail at aparcar.org>
AuthorDate: Thu Nov 26 23:23:41 2020 -1000

    README: mv logo.svg include/logo.{png,svg}
    
    Some Git hoster (e.g. sr.ht) disable hosting of svg images (xml) to
    avoid XSS attacks. To show the logo correctly on all code hosters use a
    "safe" PNG image.
    
    Also move logo(s) to include/ folder to lower autocomplete churn with
    the `logs/` folder. While at it, replace absolute logo path and make it
    relative, as this may break other code hosters as well.
    
    Signed-off-by: Paul Spooren <mail at aparcar.org>
---
 README.md                    |   2 +-
 include/logo.png             | Bin 0 -> 80437 bytes
 logo.svg => include/logo.svg |   0
 3 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 652fe9cd44..8d9a616ac5 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-![OpenWrt logo](/logo.svg)
+![OpenWrt logo](include/logo.png)
 
 OpenWrt Project is a Linux operating system targeting embedded devices. Instead
 of trying to create a single, static firmware, OpenWrt provides a fully
diff --git a/include/logo.png b/include/logo.png
new file mode 100644
index 0000000000..de2a2bd097
Binary files /dev/null and b/include/logo.png differ
diff --git a/logo.svg b/include/logo.svg
similarity index 100%
rename from logo.svg
rename to include/logo.svg



More information about the lede-commits mailing list