From 018664efacb105f7ef01c5ca8551544c4d147abb Mon Sep 17 00:00:00 2001 From: "iki@e3f6f8ca81d7d2a246b9f0782e57f5c6b6f9c3c5" Date: Fri, 20 Nov 2015 13:25:18 -0400 Subject: create todo wishlist patch for match_userdir idea --- ...__pagespec_directive_to_match_userpage_and_SubPages.mdwn | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/todo/userdir__40____41___pagespec_directive_to_match_userpage_and_SubPages.mdwn diff --git a/doc/todo/userdir__40____41___pagespec_directive_to_match_userpage_and_SubPages.mdwn b/doc/todo/userdir__40____41___pagespec_directive_to_match_userpage_and_SubPages.mdwn new file mode 100644 index 000000000..b64bf0a18 --- /dev/null +++ b/doc/todo/userdir__40____41___pagespec_directive_to_match_userpage_and_SubPages.mdwn @@ -0,0 +1,13 @@ +[[!tag wishlist patch ]] +[[!template id=gitbranch branch=bfree/userdirps author="niall"]] +I've written a very small plugin, inspired by +[[forum/Can_ikiwiki_be_configured_as_multi_user_blog__63__]] +which adds match_userdir to IkiWiki::PageSpec + +userdir() in a [[IkiWiki/PageSpec]] takes no arguments and checks +if the page is the users userpage or a SubPage of it. + +The plugin is named userdirps. + +In case my gitbranch template is wrong: +[[https://github.com/bfree/ikiwiki/commit/1f699d15c0778702cc5264dd3c8f822c6b0609ba]] -- cgit v1.2.3