diff --git a/emitters/yaml_base_emitter.cpp b/emitters/yaml_base_emitter.cpp index 12c8c74..819cb0f 100644 --- a/emitters/yaml_base_emitter.cpp +++ b/emitters/yaml_base_emitter.cpp @@ -955,6 +955,7 @@ bool yaml_base_emitter::create_directory_stub(boost::filesystem::path p) { static const auto stub_json_k = json::object_t{ {"layout", "directory"}, + {"title", p.filename().string()}, }; output << front_matter_delimiter_k;