aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/todo/userdir__40____41___pagespec_directive_to_match_userpage_and_SubPages.mdwn13
1 files changed, 13 insertions, 0 deletions
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]]