From 73d8e9ab498799ab35d49a4b2f9f9d15acefff2c Mon Sep 17 00:00:00 2001 From: trisua Date: Sun, 13 Jul 2025 18:43:36 -0400 Subject: [PATCH] fix: don't show "ask about this" if owner has questions disabled --- crates/app/src/public/html/components.lisp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/app/src/public/html/components.lisp b/crates/app/src/public/html/components.lisp index 0ce8821..2e09987 100644 --- a/crates/app/src/public/html/components.lisp +++ b/crates/app/src/public/html/components.lisp @@ -357,6 +357,7 @@ (span (text "BlueSky"))) (text "{%- endif %}") + (text "{% if owner.settings.enable_questions -%}") (a ("class" "button") ("href" "/@{{ owner.username }}?asking_about={{ post.id }}") @@ -364,6 +365,7 @@ (span (str (text "communities:label.ask_about_this")))) (text "{%- endif %}") + (text "{%- endif %}") (text "{% if user and user.id != post.owner -%}") (b ("class" "title")