const utils = require('../utils/utils.js');
module.exports=
{
renderPost: function(res, post)
{
res.write("
");
//image
res.write("
");
//title
res.write("
" + post.name + "
");
//date
res.write("" + post.date + "
");
res.write("");
res.write("
");
//include page content
utils.include(res, "../entries/" + post.url);
res.write("
")
}
};
/*
TITLE HEADING
Title description, Date
content
*/