From fa96eab12016e2f29a0a3522f1229039fbbf2c5e Mon Sep 17 00:00:00 2001 From: joey Date: Sat, 16 Sep 2006 15:12:01 +0000 Subject: * Updated ikiwiki.svgz from Recai, includes an icon and is used to generate a multi-resolution favicon.ico. --- doc/logo.mdwn | 13 ++++++++++++- doc/logo/ikiwiki.svgz | Bin 3818 -> 13891 bytes doc/plugins/favicon.mdwn | 5 +++-- 3 files changed, 15 insertions(+), 3 deletions(-) (limited to 'doc') diff --git a/doc/logo.mdwn b/doc/logo.mdwn index 87ff32a8f..55ce6e955 100644 --- a/doc/logo.mdwn +++ b/doc/logo.mdwn @@ -11,7 +11,18 @@ added). [[SVG_source|ikiwiki.svgz]], can be used to generate a logo at any size with a command like: - `inkscape -z -D -w 90 -e ikiwiki.png ikiwiki.svgz` + + inkscape -z -w 90 -i logo -e ikiwiki.png ikiwiki.svgz + + The [[favicon.ico]] can also be generated from this file, as follows: + + for s in 16 32 64; do + inkscape -z -w $s -i favicon -e favicon-$s.png ikiwiki.svgz + done + icotool -c -o favicon.ico favicon-*.png && rm -f favicon-*.png + + Some other alternate icons are also included in the svg file and can + be extracted by specifying their names. Contributed by Recai Oktaş diff --git a/doc/logo/ikiwiki.svgz b/doc/logo/ikiwiki.svgz index b4b7e6af4..b43ae9be2 100644 Binary files a/doc/logo/ikiwiki.svgz and b/doc/logo/ikiwiki.svgz differ diff --git a/doc/plugins/favicon.mdwn b/doc/plugins/favicon.mdwn index f301433fa..efa3b1535 100644 --- a/doc/plugins/favicon.mdwn +++ b/doc/plugins/favicon.mdwn @@ -2,5 +2,6 @@ [[tag type/chrome]] If this plugin is enabled, then an icon link is added to pages, for web -browsers to display. The icon is currently hardcoded to be a favicon.png, -which must be in the root of the wiki. +browsers to display. The icon is currently hardcoded to be a favicon.ico, +which must be in the root of the wiki. The [[logo]] page explains how this +icon was generated. -- cgit v1.2.3