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