X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/c8b4ba354f82fbbcebbbfca65b40a047f9920525..214bc2b65be0e8797c1235adea7a19325babf46f:/doc/plugins/meta.mdwn?ds=sidebyside diff --git a/doc/plugins/meta.mdwn b/doc/plugins/meta.mdwn index cebe11f56..f97e267ef 100644 --- a/doc/plugins/meta.mdwn +++ b/doc/plugins/meta.mdwn @@ -19,7 +19,7 @@ You can use any field names you like, but here are some predefined ones: Specifies a link to another page. This can be used as a way to make the wiki treat one page as linking to another without displaying a user-visible - [[WikiLink]]: + [[ikiwiki/WikiLink]]: \[[meta link=otherpage]] @@ -30,6 +30,22 @@ You can use any field names you like, but here are some predefined ones: However, this latter syntax won't be allowed if the [[htmlscrubber]] is enabled, since it can be used to insert unsafe content. +* redir + + Causes the page to redirect to another page in the wiki. + + \[[meta redir=otherpage]] + + Optionally, a delay (in seconds) can be specified. The default is to + redirect without delay. + + It can also be used to redirect to an external url. For example: + + \[[meta redir="http://example.com/"]] + + However, this latter syntax won't be allowed if the [[htmlscrubber]] is + enabled, since it can be used to insert unsafe content. + * title Overrides the title of the page, which is generally the same as the @@ -41,12 +57,22 @@ You can use any field names you like, but here are some predefined ones: * license - Specifies a copyright license for the page, for example, "GPL". + Specifies a license for the page, for example, "GPL". Can contain + WikiLinks. + +* copyright + + Specifies the copyright of the page, for example, "Copyright 2007 by + Joey Hess". Can contain WikiLinks. * author Specifies the author of a page. +* authorurl + + Specifies an url for the author of a page. + * permalink Specifies a permanent link to the page, if different than the page