Authored by zhangxiaoru

editorial

... ... @@ -128,6 +128,7 @@ const detail = (req, res, next) => {
name: result.head.title
}
],
id: id,
header: result.head,
content: result.content.contents,
tags: result.tags,
... ...
... ... @@ -2,7 +2,7 @@
{{# editorialDetail}}
{{> path-nav}}
<div class="detail-body">
<div class="detail-body" data-id="{{id}}">
{{# header}}
<div class="detail-title">{{title}}</div>
... ...