summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://lj.rossia.org/users/imz/ <http://lj.rossia.org/users/imz/@web>2009-05-13 21:51:55 -0400
committerJoey Hess <joey@kitenet.net>2009-05-13 21:51:55 -0400
commit19cb93507bf650f307cd7b8c26b0b02a0733ed26 (patch)
treeeda0696284f71298a75e1b28c4175060e3c20898
parent0c52e5920879fff74c1ce1487470bf84b2df20cd (diff)
tagging (to find this page easier when studying ikiwiki)
-rw-r--r--doc/todo/auto-create_tag_pages_according_to_a_template.mdwn6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn b/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn
index ab9263556..5d3f96c88 100644
--- a/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn
+++ b/doc/todo/auto-create_tag_pages_according_to_a_template.mdwn
@@ -1,4 +1,6 @@
-It would be great if I could tell ikiwiki to automatically instantiate pages for each tag, according to a template, especially when `$tagbase` is set.
+[[!tag tags]]
+
+It would be great if I could tell ikiwiki to automatically instantiate pages for each [[tag|directive/tag]], according to a template, especially when `$tagbase` is set.
Tags are mainly specific to the object to which they’re stuck. However, I often use them the other way around, too: as concepts. And sometimes I’d like to see all pages related to a given concept (“tagged with a given tag”). The only way to do this with ikiwiki is to instantiate a page for each tag and slap a map on it. This is quite tedious and I’d really love to see Ikiwiki do so by default for all tags.
@@ -10,7 +12,7 @@ I would love to see this as well. -- dato
---
-I have create a patch to tag.pm for add the option for auto create tag pages.
+I have create a patch to [[tag.pm|plugins/tag]] for add the option for auto create tag pages.
A new setting is used to enable or disable auto-create tag pages, `tag_autocreate`.
The new tag file is created during the preprocess phase.
The new tag file is then complied during the change phase.