From 2a951515be1be3310790e02dacd50cb39dd274d2 Mon Sep 17 00:00:00 2001 From: "https://id.koumbit.net/anarcat" Date: Mon, 23 Apr 2012 09:42:10 -0400 Subject: more information --- doc/plugins/contrib/ikiwiki/directive/ymlfront/discussion.mdwn | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/plugins/contrib/ikiwiki/directive/ymlfront/discussion.mdwn b/doc/plugins/contrib/ikiwiki/directive/ymlfront/discussion.mdwn index f9f14c246..ab8ed85de 100644 --- a/doc/plugins/contrib/ikiwiki/directive/ymlfront/discussion.mdwn +++ b/doc/plugins/contrib/ikiwiki/directive/ymlfront/discussion.mdwn @@ -19,3 +19,13 @@ I have tried both the ymlfront directive and the YAML markup (with the > Oh, and you only need to register "meta" with field_register; that will enable the data defined by the "meta" plugin to be read by field. Unless "hostname", "MAC" and "IP" are plugins, you don't need to add them to field_register. They can be taken care of by the ymlfront plugin. Perhaps that is the problem? > --[[KathrynAndersen]] + +> > I have tried removing the other fields from the declaration, no luck. I did, however, notice the following error in the `--rebuild` output: +> > +> > ymlfront parse: Load of sandbox data failed: YAML Error: Stream does not end with newline character +> > Code: YAML_PARSE_ERR_NO_FINAL_NEWLINE +> > Line: 0 +> > Document: 0 +> > at /usr/share/perl5/YAML/Loader.pm line 38 +> > +> > Now *that* has to be related... ;) In the index.db, there is no ymlfront metadata for the sandbox page... Note that the `---` delimiter approach doesn't trigger the warning but doesn't populate the DB either... --[[anarcat]] -- cgit v1.2.3