* Updated ikiwiki.svgz from Recai, includes an icon and is used to generate

a multi-resolution favicon.ico.
master
joey 2006-09-16 15:12:01 +00:00
parent 42973f687c
commit fa96eab120
10 changed files with 23 additions and 9 deletions

View File

@ -17,7 +17,7 @@ sub pagetemplate (@) { #{{{
my $template=$params{template};
if ($template->query(name => "favicon")) {
$template->param(favicon => "favicon.png");
$template->param(favicon => "favicon.ico");
}
} # }}}

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

4
debian/changelog vendored
View File

@ -44,8 +44,10 @@ ikiwiki (1.27) UNRELEASED; urgency=low
* 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

View File

@ -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ş

Binary file not shown.

View File

@ -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.

View File

@ -8,7 +8,7 @@
<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>

View File

@ -8,7 +8,7 @@
<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>

View File

@ -7,7 +7,7 @@
<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>

View File

@ -8,7 +8,7 @@
<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>