diff --git a/internal/glance/static/main.css b/internal/glance/static/main.css index 2a5db10..3037128 100644 --- a/internal/glance/static/main.css +++ b/internal/glance/static/main.css @@ -1038,7 +1038,7 @@ details[open] .summary::after { } @container widget (max-width: 550px) { - .forum-post-comment-count { + .forum-post-autohide { display: none; } diff --git a/internal/glance/templates/forum-posts.html b/internal/glance/templates/forum-posts.html index ebd6e00..5d09269 100644 --- a/internal/glance/templates/forum-posts.html +++ b/internal/glance/templates/forum-posts.html @@ -10,9 +10,9 @@ - {{- else if ne .ThumbnailUrl "" }} + {{- else if .ThumbnailUrl }} - {{- else if ne "" .TargetUrl }} + {{- else if .TargetUrl }} @@ -24,7 +24,7 @@ {{- end }}
{{ .Title }} - {{- if gt (len .Tags) 0 }} + {{- if .Tags }}