From 453e07fd9ffec6fe6a9fd9d7c802c48477dadb25 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Thu, 22 Jun 2017 08:59:20 +0100 Subject: meta: Specifically document [[!meta foo:bar="baz"]] as not working --- doc/ikiwiki/directive/meta.mdwn | 9 +++++++-- 1 file 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 ``. 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"]] -- cgit v1.2.3