Skip to content

Commit

Permalink
Need to include a title field for the directory stub. (#59)
Browse files Browse the repository at this point in the history
Co-authored-by: Brandon Heath <bheath@adobe.com>
  • Loading branch information
baheath and bheath-adobe authored Jun 2, 2020
1 parent 0c87c78 commit 52981ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions emitters/yaml_base_emitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 52981ca

Please # to comment.