add: block list stacks
This commit is contained in:
parent
9bb5f38f76
commit
b71ae1f5a4
28 changed files with 700 additions and 219 deletions
|
@ -1817,3 +1817,20 @@
|
|||
("class" "no_p_margin")
|
||||
(text "{{ post.title|markdown|safe }}"))))
|
||||
(text "{%- endmacro %}")
|
||||
|
||||
(text "{% macro stack_listing(stack) -%}")
|
||||
(a
|
||||
("href" "/stacks/{{ stack.id }}")
|
||||
("class" "card secondary flex flex-col gap-2")
|
||||
(div
|
||||
("class" "flex items-center gap-2")
|
||||
(text "{{ icon \"list\" }}")
|
||||
(b
|
||||
(text "{{ stack.name }}")))
|
||||
(span
|
||||
(text "Created ")
|
||||
(span
|
||||
("class" "date")
|
||||
(text "{{ stack.created }}"))
|
||||
(text "; {{ stack.privacy }}; {{ stack.users|length }} users")))
|
||||
(text "{%- endmacro %}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue