tetratto/crates/app/src/public/html/communities/topics.lisp
2025-08-04 12:12:04 -04:00

19 lines
836 B
Common Lisp

(text "{% import \"components.html\" as components %} {% extends \"communities/base.html\" %} {% block content %}")
(div
("class" "flex flex_col gap_4 w_full")
(text "{{ macros::community_nav(community=community, selected=\"posts\") }}")
(div
("class" "card_nest")
(div
("class" "card small flex gap_2 items_center")
(icon (text "list"))
(span
(str (text "communities:label.topics"))))
(div
("class" "card flex flex_col gap_4")
(text "{% for topic in topics_sorted %}")
(div
("class" "card lowered w_full flex flex_col gap_2")
(text "{{ components::topic_display(id=topic[0], topic=topic[1], community=community) }}"))
(text "{% endfor %}"))))
(text "{% endblock %}")