aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/meta/conf_make_meta_yaml.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc_reform/meta/conf_make_meta_yaml.d')
-rw-r--r--src/doc_reform/meta/conf_make_meta_yaml.d13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/doc_reform/meta/conf_make_meta_yaml.d b/src/doc_reform/meta/conf_make_meta_yaml.d
index 3d39471..a01a025 100644
--- a/src/doc_reform/meta/conf_make_meta_yaml.d
+++ b/src/doc_reform/meta/conf_make_meta_yaml.d
@@ -822,14 +822,13 @@ static template docHeaderMakeAndMetaTupYamlExtractAndConvertToStruct() {
M _manifested,
) {
Node _yaml_root;
- if (header_src.match(rgx.yaml_header_meta_title)) {
- try {
- _yaml_root = Loader.fromString(header_src).load();
- } catch {
- import std.stdio;
- writeln("ERROR failed to read document header, not parsed as yaml");
- }
+ try {
+ _yaml_root = Loader.fromString(header_src).load();
+ } catch {
+ import std.stdio;
+ writeln("ERROR failed to read document header, not parsed as yaml");
}
+ // need test for _yaml_root content
auto _header_and_make_and_meta_struct
= contentYAMLtoSpineStruct!()(_make_and_meta_struct, _yaml_root, _manifested, "header");
return _header_and_make_and_meta_struct;