${template "header" .}
${if and (ne .classification nil) (eq .classification.ClassificationType 4)}

您现在的位置是：网站首页 > ${.classification.ClassificationName}

# ${.classification.ClassificationName}

${.classification.ClassificationContent}
${else}

您现在的位置是：网站首页 > ${.log.ClassificationName} > ${.log.LogTitle}

# ${.log.LogTitle}

${timeFormatYear .log.CreatTime} ${.log.LogAuthor} ${.log.ClassificationName} ${.log.LogHits}

${.log.LogContent}

## 相关文章

${range $index,$article := .relevantList} ${if ne $.log.LogId $article.LogId}
${end} ${end}

## 文章评论

${range $index,$comment := .commentList}
${$comment.CommentNickname}
(${timeFormatYear $comment.CreateTime})
${$comment.CommentContent}
${$comment.CommentId}
回复
${range $index2, $item := $comment.Children} ${if lt $index2 3}
${$item.CommentNickname}
(${timeFormatYear $item.CreateTime})
@${$item.ReplyName}:${$item.CommentContent}
${$item.CommentId}
回复
${else}
${$item.CommentNickname}
(${timeFormatYear $item.CreateTime})
@${$item.ReplyName}:${$item.CommentContent}
${$item.CommentId}
回复
${end} ${end}
${if gt $comment.CommentNum 3}
共${$comment.CommentNum}条回复,点击查看
${else}
共${$comment.CommentNum}条回复,点击查看
${end}
${end} ${if ne .commentList nil}
${$.pageStyle}
${else}
还没有人发表评论
${end}

## 发表评论

昵称
${end} ${template "aside" .}
${template "footer" .}