diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-12-29 05:33:20 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-12-29 05:33:20 +0000 |
commit | f62d23f008367d403f6f75a1673c673b2137f49b (patch) | |
tree | 2daff8d20460133e6ca2d6bdc998daa6f8360e5a /IkiWiki | |
parent | 7819f34a503bbe00c35c384119d0935735689dbc (diff) | |
download | ikiwiki-f62d23f008367d403f6f75a1673c673b2137f49b.tar ikiwiki-f62d23f008367d403f6f75a1673c673b2137f49b.tar.gz |
* If a userdir is configured, links to pages in it can be made without
specifying the path. This allows for easy signing of comments by linking
to your page in the userdir.
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/CGI.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm index 511358ff5..7f84f345a 100644 --- a/IkiWiki/CGI.pm +++ b/IkiWiki/CGI.pm @@ -419,6 +419,8 @@ sub cgi_editpage ($$) { #{{{ push @page_locs, $dir.$page; } } + push @page_locs, "$config{userdir}/$page" + if length $config{userdir}; @page_locs = grep { ! exists $pagecase{lc $_} && |