fix: home timeline setting

This commit is contained in:
trisua 2025-07-09 21:44:49 -04:00
parent 7ead0ce775
commit 69067145ce

View file

@ -134,10 +134,12 @@
("selected" "{% if home == '/all/questions' -%}true{% else %}false{%- endif %}")
(text "All (questions)"))
(text "{% for stack in stacks %}")
(option
("value" "{\\\"Stack\\\":\\\"{{ stack.id }}\\\"}")
("selected" "{% if home is ending_with(stack.id|as_str) -%}true{% else %}false{%- endif %}")
(text "{{ stack.name }} (stack)"))
(text "<option
value='{\"Stack\":\"{{ stack.id }}\"}'
selected=\"{% if home is ending_with(stack.id|as_str) -%}true{% else %}false{%- endif %}\"
>
{{ stack.name }} (stack)
</option>")
(text "{% endfor %}"))
(span
("class" "fade")