add: PORT env var

This commit is contained in:
trisua 2025-06-22 00:04:32 -04:00
parent 52c8983634
commit 5961999ce4
9 changed files with 58 additions and 4 deletions

View file

@ -94,7 +94,7 @@
(text "{{ dislikes }}"))
(text "{%- endif %}"))
(text "{%- endif %} {%- endmacro %} {% macro full_username(user) -%}")
(text "{%- endif %} {%- endmacro %} {% macro full_username(user) -%} {% if user and user.username -%}")
(div
("class" "flex items-center")
(a
@ -110,8 +110,7 @@
("class" "flex items-center")
(text "{{ icon \"badge-check\" }}"))
(text "{%- endif %}"))
(text "{%- endmacro %} {% macro repost(repost, post, owner, secondary=false, community=false, show_community=true, can_manage_post=false) -%}")
(text "{%- endif %} {%- endmacro %} {% macro repost(repost, post, owner, secondary=false, community=false, show_community=true, can_manage_post=false) -%}")
(div
("style" "display: contents")
(text "{{ self::post(post=post, owner=owner, secondary=secondary, community=community, show_community=show_community, can_manage_post=can_manage_post, repost=repost, expect_repost=true) }}"))

View file

@ -326,6 +326,7 @@
(div
("data-tab" "editor")
("class" "flex flex-col gap-2")
(div
("class" "flex flex-col gap-2 card")
("style" "animation: fadein ease-in-out 1 0.5s forwards running")

View file

@ -1359,6 +1359,11 @@
\"{{ profile.settings.show_nsfw }}\",
\"checkbox\",
],
[
[\"auto_unlist\", \"Automatically mark my posts as NSFW\"],
\"{{ profile.settings.auto_unlist }}\",
\"checkbox\",
],
[[], \"Questions\", \"title\"],
[
[