{template "header.html"}

代码放在内容详情页面的模板中:

{$msg}
{template "footer.html"}