Package: ikiwiki Version: 1.21 Severity: normal Hi,
The sidebar plugin generates broken links in pages not in the top level. I include a test case as a tar.gz attached file. You'll note that the generated $root/index.html contains a sidebar with a link to "categories/geek.html". That link works, and leads to $root/categories/geek.html. However, that page also contains the sidebar, which still contains a link to "categories/geek.html". Since that is a relative link, it actually points at $root/categories/categories/geek.html, which doesn't exist. Similarly, $root/blog/2006/08/31/test.html (a sample article) contains a sidebar, where the link would point to $root/blog/2006/08/31/categories/geek.html, which is a similarly broken link. As an aside, may I suggest the default templates include the code to display the sidebar? It's confusing to not have it appear by default even while the plugin is enabled. Roland. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-2-k7 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Versions of packages ikiwiki depends on: ii gcc [c-compiler] 4:4.1.1-6 The GNU C compiler ii gcc-3.3 [c-compiler] 1:3.3.6-13 The GNU C compiler ii gcc-4.0 [c-compiler] 4.0.3-6 The GNU C compiler ii gcc-4.1 [c-compiler] 4.1.1-11 The GNU C compiler ii libc6-dev [libc-dev] 2.3.6.ds1-4 GNU C Library: Development Librari ii libcgi-formbuilder-perl 3.03.01-1 Easily generate and process statef ii libcgi-session-perl 4.14-1 Persistent session data in CGI app ii libhtml-parser-perl 3.55-1 A collection of modules that parse ii libhtml-scrubber-perl 0.08-3 Perl extension for scrubbing/sanit ii libhtml-template-perl 2.8-1 HTML::Template : A module for usin ii libmail-sendmail-perl 0.79-4 Send email from a perl script ii libtime-duration-perl 1.02-1 Time::Duration -- rounded or exact ii libtimedate-perl 1.1600-5 Time and date functions for Perl ii libxml-simple-perl 2.14-4 Perl module for reading and writin ii markdown 1.0.1-3 Text-to-HTML conversion tool ii perl 5.8.8-6.1 Larry Wall's Practical Extraction Versions of packages ikiwiki recommends: ii hyperestraier 1.3.6-1 a full-text search system for comm ii subversion 1.3.2-5+b1 Advanced version control system -- no debconf information
ikiwiki-testcase.tar.gz
Description: Test case for ikiwiki bug