add: town square forum config

This commit is contained in:
trisua 2025-08-04 14:58:36 -04:00
parent d4ff681310
commit 548a6dcf4e
8 changed files with 73 additions and 5 deletions

View file

@ -7,6 +7,16 @@
(text "{{ macros::timelines_nav(selected=\"all\", posts=\"/all\", questions=\"/all/questions\", secondary_selected=\"forum_posts\", forum_posts=\"/all/forum_posts\") }}")
(div
("class" "card w_full flex flex_col gap_2")
(text "{% if config.town_square_forum != 0 -%}")
(a
("href" "/communities/intents/post?community={{ config.town_square_forum }}&topic={{ config.town_square_forum_topic }}&sig=true&topics=true")
("class" "button small lowered")
("data-turbo" "false")
(icon (text "plus"))
(span
(str (text "general:action.post"))))
(text "{%- endif %}")
(div
("class" "w_full")
("style" "overflow: auto")