aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriki@e3f6f8ca81d7d2a246b9f0782e57f5c6b6f9c3c5 <iki@web>2015-11-20 13:25:18 -0400
committeradmin <admin@branchable.com>2015-11-20 13:25:18 -0400
commit018664efacb105f7ef01c5ca8551544c4d147abb (patch)
treeb9b3224d816028c0401d85f922ce787ae4b395e6
parent75ea9d313d1899d7c2d303e29a758652a7c010a2 (diff)
downloadikiwiki-018664efacb105f7ef01c5ca8551544c4d147abb.tar
ikiwiki-018664efacb105f7ef01c5ca8551544c4d147abb.tar.gz
create todo wishlist patch for match_userdir idea
-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]]