diff --git a/crates/app/src/public/html/components.lisp b/crates/app/src/public/html/components.lisp index 61b6ed8..a5df713 100644 --- a/crates/app/src/public/html/components.lisp +++ b/crates/app/src/public/html/components.lisp @@ -248,12 +248,15 @@ (text "{%- endif %}") (div ("class" "flex gap-1 buttons_box") + (text "{% if post.context.comments_enabled %}") (a ("href" "/post/{{ post.id }}") ("class" "button camo small") (text "{{ icon \"message-circle\" }}") (span (text "{{ post.comment_count }}"))) + (text "{% endif %}") + (a ("href" "/post/{{ post.id }}") ("class" "button camo small")