From 5017ffd8a512c09d3c34764709791812acfc5515 Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 27 Jul 2006 21:38:02 +0000 Subject: * Patch from Enrico that - allows preprocessor directives to have parameters with no specified value - fixes preprocessor directive parameter parsing so that foo=bar baz now means "foo=bar" and a "baz" with no value - Add a tag plugin that allows more easily tagging pages. The meta plugin can also still be used for this. --- doc/plugins/meta.mdwn | 6 ++++-- doc/plugins/tag.mdwn | 9 +++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 doc/plugins/tag.mdwn (limited to 'doc/plugins') diff --git a/doc/plugins/meta.mdwn b/doc/plugins/meta.mdwn index 998dd5d86..17a54c8d6 100644 --- a/doc/plugins/meta.mdwn +++ b/doc/plugins/meta.mdwn @@ -1,6 +1,4 @@ This plugin allows inserting arbitrary metadata into the source of a page. -This plugin is not enabled by default. If it is enabled, the title of this -page will say it is. [[meta title="meta plugin (enabled)"]] Enter the metadata as follows: \\[[meta field="value"]] @@ -41,3 +39,7 @@ You can use any field names you like, but here are some predefined ones: If the field is not treated specially (as the link and title fields are), the metadata will be written to the generated html page as a <meta> header. + +This plugin is included in ikiwiki, but it is not enabled by default. If +it is enabled, the title of this page will say it is. +[[meta title="meta plugin (enabled)"]] diff --git a/doc/plugins/tag.mdwn b/doc/plugins/tag.mdwn new file mode 100644 index 000000000..95a346622 --- /dev/null +++ b/doc/plugins/tag.mdwn @@ -0,0 +1,9 @@ +This plugin allows tagging pages. List tags as follows: + + \\[[tag tech life linux]] + +The tags work the same as if you had put a (hidden) [[WikiLink]] on the page +for each tag, so you can use a [[GlobList]] to link to all pages that are +tagged with a given tag, for example. + +This plugin is included in ikiwiki, but is not enabled by default. -- cgit v1.2.3