X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/778d9e50d41d7ed2c1b2a2bf5cad52f089c94122..afad77a7e06072609956d19d6bdf7fdd24a5293c:/doc/ikiwiki/directive/meta.mdwn?ds=sidebyside diff --git a/doc/ikiwiki/directive/meta.mdwn b/doc/ikiwiki/directive/meta.mdwn index 0d4d9d6cc..777712f32 100644 --- a/doc/ikiwiki/directive/meta.mdwn +++ b/doc/ikiwiki/directive/meta.mdwn @@ -75,8 +75,13 @@ a quote in the text by writing `"` and so on. * date - Specifies the creation date of the page. The date can be entered in - nearly any format, since it's parsed by [[!cpan TimeDate]]. + Specifies the creation date of the page. This creates a + `` header in the HTML output, but also + modifies the internal `ctime` in the + [[!iki tips/inside_dot_ikiwiki desc="internal index"]]. + The date can be entered in nearly any format, since it's parsed by + [[!cpan TimeDate]] but invalid dates yield an error in 3.20180321 + or later. * stylesheet @@ -193,7 +198,8 @@ a quote in the text by writing `"` and so on. modification time, like Planet: for instance, when editing an old blog post to add tags, you could set `updated` to be one second later than the original value. The date/time can be given in any format that - [[!cpan TimeDate]] can understand, just like the `date` field. + [[!cpan TimeDate]] can understand, just like the `date` field and maps to the + `` HTML header and internal `mtime` field. * foaf @@ -217,7 +223,12 @@ a quote in the text by writing `"` and so on. If the field is not one of the above predefined fields, the metadata will be written to the generated html page as a <meta> header. For example, -`\[[!meta foo="bar"]]` becomes ``. As with `name`, this -won't be allowed if the [[!iki plugins/htmlscrubber desc=htmlscrubber]] plugin is enabled. +`\[[!meta foo="bar"]]` becomes ``. As +with `name`, this won't be allowed if the [[!iki plugins/htmlscrubber +desc=htmlscrubber]] plugin is enabled. + +This syntax cannot be used for meta headers with unusual names, in +particular names containing `:` such as `flattr:id` and `twitter:card`. +Please use `\[[!meta name="..." content="..."]]` for those headers. [[!meta robots="noindex, follow"]]