aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2017-06-22 08:59:20 +0100
committerSimon McVittie <smcv@debian.org>2017-06-22 09:19:02 +0100
commit453e07fd9ffec6fe6a9fd9d7c802c48477dadb25 (patch)
treeadcec220f9c609d12643aa88e6f66f75133629c0
parent63e6fa68b09efd88a28f4f684758500c74afcd10 (diff)
downloadikiwiki-453e07fd9ffec6fe6a9fd9d7c802c48477dadb25.tar
ikiwiki-453e07fd9ffec6fe6a9fd9d7c802c48477dadb25.tar.gz
meta: Specifically document [[!meta foo:bar="baz"]] as not working
-rw-r--r--doc/ikiwiki/directive/meta.mdwn9
1 files changed, 7 insertions, 2 deletions
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 `&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"]]