diff options
author | Simon McVittie <smcv@debian.org> | 2017-06-22 08:59:20 +0100 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2017-06-22 09:19:02 +0100 |
commit | 453e07fd9ffec6fe6a9fd9d7c802c48477dadb25 (patch) | |
tree | adcec220f9c609d12643aa88e6f66f75133629c0 | |
parent | 63e6fa68b09efd88a28f4f684758500c74afcd10 (diff) | |
download | ikiwiki-453e07fd9ffec6fe6a9fd9d7c802c48477dadb25.tar ikiwiki-453e07fd9ffec6fe6a9fd9d7c802c48477dadb25.tar.gz |
meta: Specifically document [[!meta foo:bar="baz"]] as not working
-rw-r--r-- | doc/ikiwiki/directive/meta.mdwn | 9 |
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 `"` 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 `<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"]] |