{{include "header.html"}} {{include "nav.html"}} {{/* 资讯详情(article.html)。评论区未启用(brief 未要求),保留上一篇/下一篇与标签 */}} {{if index .ThemesExt "show_breadcrumb"}} {{if .Nav}} {{end}} {{end}} {{if .Content}}

{{.Content.Title}}

{{ParseTime .Content.CreatedAt "2006-01-02"}} {{if .Content.Author}} 作者:{{.Content.Author}} {{end}} {{if .Content.ColumnName}} 分类:{{.Content.ColumnName}} {{end}} {{if .Content.Views}} 阅读:{{.Content.Views}} {{end}}
{{if .Content.Img}}
{{.Content.Title}}
{{end}}
{{.Content.Content|Str2Html}}
{{if .Content.Tags}}
{{range .Content.Tags}} {{.Name}} {{end}}
{{end}}
{{if .Prev}}

上一篇

{{.Prev.Title}}
{{end}} {{if .Next}}

下一篇

{{.Next.Title}}
{{end}}
{{end}} {{/* ------------------------------------------------ 内容页深化:进度条 / 目录 / 分享 */}} {{/* 对标长文阅读体验:顶部阅读进度条 + 正文目录(h2/h3 自动锚点)+ 阅读时长 + 复制链接。 全部用前端实现,不依赖后端新接口 —— 正文容器是稳定的 .vm-rich, 扫不到标题(<2 个)就不渲染目录,避免出现空目录这种「看起来像坏了」的噪音。 */}} {{/* vv-article-deepened */}} {{include "footer.html"}} {{/* 🚨 页脚本必须在最后一个 footer include 之后、 之前 —— 校验器把「footer 之前的 {{include "js.html"}}