Added summary to the document tree index
[biaweb2.git] / biaweb.cpp
index b1c827b..ca9c059 100644 (file)
@@ -9,6 +9,8 @@ int main (int argc, char *argv[]) {
     {
         std::shared_ptr<DocumentTree> tree (new DocumentTree (argv[1]));
         tree.get()->set_stub ("");
+        tree.get()->set_markdown_summary ("# Hello there\n\n\
+These are some contents for this page.");
 
         std::shared_ptr<DocumentTree> a1 (new DocumentTree("Child a1"));
         std::shared_ptr<DocumentTree> a2 (new DocumentTree("Child a2"));