locale => undef,
sslcookie => 0,
httpauth => 0,
+ userdir => "",
} #}}}
sub checkconfig () { #{{{
return "<a href=\"$user\">".escapeHTML($display)."</a>";
}
else {
- return htmllink("", "", escapeHTML($user), 1);
+ return htmllink("", "", escapeHTML(
+ length $config{userdir} ? $config{userdir}."/".$user : $user
+ ), 1);
}
} #}}}
* Fix various links on the hyperestradier pages.
* Use POST for poll to avoid some robots.
* Fix sometimes broken links to Discussion pages from blog pages.
+ * Add userdir config setting.
- -- Joey Hess <joeyh@debian.org> Thu, 14 Dec 2006 14:41:01 -0500
+ -- Joey Hess <joeyh@debian.org> Tue, 19 Dec 2006 11:58:44 -0500
ikiwiki (1.35) unstable; urgency=low
# Logging settings:
verbose => 0,
syslog => 0,
+ # To link to user pages in a subdirectory of the wiki.
+ #userdir => "users",
# To add plugins, list them here.
#add_plugins => [qw{goodstuff openid search wikitext camelcase
Enables or disables "Discussion" links from being added to the header of
every page. The links are enabled by default.
+* --userdir subdir
+
+ Optionally, allows links to users of the wiki to link to pages inside a
+ subdirectory of the wiki. The default is to link to pages in the toplevel
+ directory of the wiki.
+
* --timeformat format
Specify how to display the time or date. The format string is passed to the