fix: home timeline setting
This commit is contained in:
parent
7ead0ce775
commit
69067145ce
1 changed files with 6 additions and 4 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue