aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/contrib
diff options
context:
space:
mode:
authorspalax <spalax@web>2014-01-18 09:16:43 -0400
committeradmin <admin@branchable.com>2014-01-18 09:16:43 -0400
commitde2b7cb2ae043c396dc1bf8f207e110755091b40 (patch)
tree47792055a7955c0b31bd7546a67d7b8644aa0afd /doc/plugins/contrib
parent80b1782223602314a6da7c670c3449f80604c0dd (diff)
downloadikiwiki-de2b7cb2ae043c396dc1bf8f207e110755091b40.tar
ikiwiki-de2b7cb2ae043c396dc1bf8f207e110755091b40.tar.gz
New plugin: parenttag
Diffstat (limited to 'doc/plugins/contrib')
-rw-r--r--doc/plugins/contrib/parenttag.mdwn13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/plugins/contrib/parenttag.mdwn b/doc/plugins/contrib/parenttag.mdwn
new file mode 100644
index 000000000..d3bede797
--- /dev/null
+++ b/doc/plugins/contrib/parenttag.mdwn
@@ -0,0 +1,13 @@
+[[!template id=plugin name=parenttag author="[[Louis|spalax]]"]]
+[[!tag type/tags]]
+
+This plugin deals with subtags (e.g. `mathematics/calculus`). Whenever a page is tagged, it is automatically tagged with its subtags as well: the following directives are equivalent:
+
+ \[[!tag mathematics/calculus]]
+ \[[!tag mathematics mathematics/calculus]]
+
+The `taglink` directive is changed as well: instead of displaying the leaf of the tag, the full path (up to `tagbase` configuration option) is displayed, each bit linking to its corresponding page. For instance, directive `\[[!taglink mathematics/calculus]]` creates a link similar to `\[[TAGBASE/mathematics]]/\[[TAGBASE/mathematics/calculus]]`.
+
+## Code
+
+Code and documentation can be found here : [[https://atelier.gresille.org/projects/gresille-ikiwiki/wiki/Parenttag]].