]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
meta: Specifically document [[!meta foo:bar="baz"]] as not working
authorSimon McVittie <smcv@debian.org>
Thu, 22 Jun 2017 07:59:20 +0000 (08:59 +0100)
committerSimon McVittie <smcv@debian.org>
Thu, 22 Jun 2017 08:19:02 +0000 (09:19 +0100)
doc/ikiwiki/directive/meta.mdwn

index 0d4d9d6cc8d9e735025372e642b373a56c4dfdbf..3df176c4831a54229801cec595446710dfd5c1d2 100644 (file)
@@ -217,7 +217,12 @@ a quote in the text by writing `&quot;` 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 &lt;meta&gt; header. For example,
-`\[[!meta foo="bar"]]` becomes `<meta name="foo" content="bar">`. As with `name`, this
-won't be allowed if the [[!iki plugins/htmlscrubber desc=htmlscrubber]] plugin is enabled.
+`\[[!meta foo="bar"]]` becomes `<meta name="foo" content="bar">`. 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"]]