]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/todo/userdir__40____41___pagespec_directive_to_match_userpage_and_SubPages.mdwn
Rebuild for jessie-backports
[git.ikiwiki.info.git] / doc / todo / userdir__40____41___pagespec_directive_to_match_userpage_and_SubPages.mdwn
1 [[!tag wishlist patch ]]
2 [[!template id=gitbranch branch=bfree/userdirps author="niall"]]
3 I've written a very small plugin, inspired by 
4 [[forum/Can_ikiwiki_be_configured_as_multi_user_blog__63__]] 
5 which adds match_userdir to IkiWiki::PageSpec
7 userdir() in a [[IkiWiki/PageSpec]] takes no arguments and checks 
8 if the page is the users userpage or a SubPage of it.
10 The plugin is named userdirps.
12 In case my gitbranch template is wrong:
13 [[https://github.com/bfree/ikiwiki/commit/1f699d15c0778702cc5264dd3c8f822c6b0609ba]]