diff --git a/src/report_generator.cpp b/src/report_generator.cpp index 0b0daadb5d..743804ff89 100644 --- a/src/report_generator.cpp +++ b/src/report_generator.cpp @@ -167,13 +167,26 @@ void print_list(std::ostream & out, Container const & source, char const * separ -void print_file_header(std::ostream& out, std::string const & title) { +void print_file_header(std::ostream& out, std::string const & title, std::string const & url_filename = {}, std::string const & desc = {}) { out << R"( -)" << title << R"( +)" << title << R"()"; + + if (url_filename.size()) { + // Open Graph metadata + out << R"( + + + + + +)"; + } + + out << R"(