summaryrefslogtreecommitdiff
path: root/doc/plugins/contrib/ikiwiki/directive
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-08-22 11:05:03 +0200
committerintrigeri <intrigeri@boum.org>2010-08-22 11:05:03 +0200
commit474b6524e0fe4b4bb3402bf6551bf97be7f3ee1f (patch)
treef303c5391cb168793bdd8d08265d37900eb96330 /doc/plugins/contrib/ikiwiki/directive
parent0055354e3cce1d1fb8ea2ac0d5c67a4c16a2b0b0 (diff)
parent20ecef4d024f751481645db3aa68d098e1251b19 (diff)
Merge remote branch 'upstream/master' into prv/po
Diffstat (limited to 'doc/plugins/contrib/ikiwiki/directive')
-rw-r--r--doc/plugins/contrib/ikiwiki/directive/ymlfront.mdwn17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/plugins/contrib/ikiwiki/directive/ymlfront.mdwn b/doc/plugins/contrib/ikiwiki/directive/ymlfront.mdwn
new file mode 100644
index 000000000..bb4a58fc6
--- /dev/null
+++ b/doc/plugins/contrib/ikiwiki/directive/ymlfront.mdwn
@@ -0,0 +1,17 @@
+The `ymlfront` directive is supplied by the [[!iki plugins/contrib/ymlfront desc=ymlfront]] plugin.
+
+This directive allows the user to define arbitrary meta-data in YAML format.
+
+ \[[!ymlfront data="""
+ foo: fooness
+ bar: The Royal Pigeon
+ baz: 2
+ """]]
+
+There is one argument to this directive.
+
+* **data:**
+ The YAML-format data. This should be enclosed inside triple-quotes to preserve the data correctly.
+
+If more than one ymlfront directive is given per page, the result is undefined.
+Likewise, it is inadvisable to try to mix the "---" ymlfront format with the directive form of the data.