doc: Generate a custom favicon from the logo
authornicoo <nicoo@realraum.at>
Wed, 4 Jul 2018 22:49:35 +0000 (00:49 +0200)
committernicoo <nicoo@realraum.at>
Wed, 4 Jul 2018 22:57:56 +0000 (00:57 +0200)
doc/.gitignore
doc/Makefile
doc/favicon.ico [deleted file]

index d376e81..11b3221 100644 (file)
@@ -1,2 +1,3 @@
 .ikiwiki
 dest/
+favicon.ico
index 44a1036..e91e3c6 100644 (file)
@@ -1,6 +1,6 @@
 .PHONY: default clean serve
 
-default:
+default: favicon.ico
        ikiwiki --refresh --setup ikiwiki.setup
 
 clean:
@@ -8,3 +8,8 @@ clean:
 
 serve: default
        @cd dest; python -m SimpleHTTPServer
+
+favicon.ico:
+       convert assets/logo.png -define icon:auto-resize=64,48,32,16 \
+                               -fill 'rgb(118,20,7)' -opaque white  \
+                               favicon.ico
diff --git a/doc/favicon.ico b/doc/favicon.ico
deleted file mode 100644 (file)
index b55eba2..0000000
Binary files a/doc/favicon.ico and /dev/null differ