a multi-resolution favicon.ico.
my $template=$params{template};
if ($template->query(name => "favicon")) {
- $template->param(favicon => "favicon.png");
+ $template->param(favicon => "favicon.ico");
}
} # }}}
* Version the libcgi-session-perl dependency, some features that need
the new version are used in some cases (sslcookie).
* Numerous tla fixes from Clint.
+ * Updated ikiwiki.svgz from Recai, includes an icon and is used to generate
+ a multi-resolution favicon.ico.
- -- Joey Hess <joeyh@debian.org> Fri, 15 Sep 2006 22:28:31 -0400
+ -- Joey Hess <joeyh@debian.org> Sat, 16 Sep 2006 10:30:35 -0400
ikiwiki (1.26) unstable; urgency=low
[[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ş
[[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.
<link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" />
<link rel="stylesheet" href="<TMPL_VAR BASEURL>local.css" type="text/css" />
<TMPL_IF NAME="FAVICON">
-<link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/png" />
+<link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-ico" />
</TMPL_IF>
</head>
<body>
<link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" />
<link rel="stylesheet" href="<TMPL_VAR BASEURL>local.css" type="text/css" />
<TMPL_IF NAME="FAVICON">
-<link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/png" />
+<link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-ico" />
</TMPL_IF>
</head>
<body>
<link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" />
<link rel="stylesheet" href="<TMPL_VAR BASEURL>local.css" type="text/css" />
<TMPL_IF NAME="FAVICON">
-<link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/png" />
+<link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-ico" />
</TMPL_IF>
<TMPL_IF NAME="RSSLINK"><TMPL_VAR RSSLINK></TMPL_IF>
<TMPL_IF NAME="META"><TMPL_VAR META></TMPL_IF>
<link rel="stylesheet" href="<TMPL_VAR BASEURL>style.css" type="text/css" />
<link rel="stylesheet" href="<TMPL_VAR BASEURL>local.css" type="text/css" />
<TMPL_IF NAME="FAVICON">
-<link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/png" />
+<link rel="icon" href="<TMPL_VAR BASEURL><TMPL_VAR FAVICON>" type="image/x-ico" />
</TMPL_IF>
</head>
<body>