{{define "public/article_detail.html"}} {{template "public_favicon_link" .}} {{.Title}} - {{T "site_name"}} {{if .SEO.RobotsNoindex}}{{end}} {{if .Description}}{{end}} {{if .CanonicalURL}}{{end}} {{with .SEO}} {{if .OgDescription}}{{end}} {{if $.CanonicalURL}}{{end}} {{if .OgImage}}{{end}} {{end}} {{if .SchemaJSONLD}}{{end}} {{template "custom-head-embed" .}} {{template "public/header_frag" .}} {{with index .Data "Article"}} {{if .Preview}}
{{T "article_preview_watermark"}} ยท {{.StatusLabel}}
{{end}}

{{.Title}}

{{if .Tags}}
{{range .Tags}} {{.Tag}} {{end}}
{{end}}
{{.Author}} {{unixTime .PublishedAt}} {{T "browse_views"}} {{.ViewCount}} {{.LikeCount}} {{.DislikeCount}}
{{if .CoverURL}}
{{end}}
{{.ContentHTML}}
{{if .DownloadAttachments}}

{{T "article_download_attachments"}}

{{end}} {{if .RejectReason}}
{{.RejectReason}}
{{end}}

{{T "article_comments_title"}}

{{if $.User}}
{{T
{{else}}

{{T "article_need_login"}} {{T "nav_login"}}

{{end}} {{if $.Data.Comments}}
{{range $.Data.Comments}}
{{.Username}}

{{.Content}}

{{end}}
{{else}}

{{T "browse_empty_comments"}}

{{end}}
{{if .Summary}} {{end}} {{if .Tags}} {{end}}
{{if .HasMermaid}}{{end}} {{end}} {{template "public/footer_frag" .}} {{end}}