From: Simon McVittie Date: Thu, 22 Jun 2017 07:59:20 +0000 (+0100) Subject: meta: Specifically document [[!meta foo:bar="baz"]] as not working X-Git-Tag: debian/3.20170622~4 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/453e07fd9ffec6fe6a9fd9d7c802c48477dadb25?ds=sidebyside meta: Specifically document [[!meta foo:bar="baz"]] as not working --- diff --git a/doc/ikiwiki/directive/meta.mdwn b/doc/ikiwiki/directive/meta.mdwn index 0d4d9d6cc..3df176c48 100644 --- a/doc/ikiwiki/directive/meta.mdwn +++ b/doc/ikiwiki/directive/meta.mdwn @@ -217,7 +217,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"]]