diff --git a/templates/MetaLab-2026/html/posts/show.html b/templates/MetaLab-2026/html/posts/show.html index c780817..3ca1664 100644 --- a/templates/MetaLab-2026/html/posts/show.html +++ b/templates/MetaLab-2026/html/posts/show.html @@ -8,7 +8,11 @@

{{.Post.Title}}

- 作者:{{if .Post.AuthorName}}{{.Post.AuthorName}}{{else}}该用户已注销{{end}} + {{if .Post.AuthorName}} + 作者: + {{else}} + 作者:该用户已注销 + {{end}} 阅读:{{.Post.ViewsCount}} 点赞:{{.Post.LikesCount}} 收藏:{{.Post.FavoritesCount}} diff --git a/templates/MetaLab-2026/static/css/posts.css b/templates/MetaLab-2026/static/css/posts.css index 042869e..6417d03 100644 --- a/templates/MetaLab-2026/static/css/posts.css +++ b/templates/MetaLab-2026/static/css/posts.css @@ -97,6 +97,16 @@ color: #6b7280; } +.post-detail-meta a { + color: #6b7280; + text-decoration: none; +} + +.post-detail-meta a:hover { + color: #6366f1; + text-decoration: underline; +} + .post-detail-body { font-size: 16px; line-height: 1.8;