{% macro options(current, values, default) -%} {% for value in values %} {% endfor %} {%- endmacro %} {% macro sort(root, methods, selected) -%} {% for method in methods %} {{ format!("{}{}", method.get(0..1).unwrap().to_uppercase(), method.get(1..).unwrap()) }} {% endfor %} {%- endmacro %} {% macro search(root, search) -%}
{%- endmacro %} {% macro render_flair(flair) -%} {% for flair_part in flair %} {% if flair_part.flair_part_type == "emoji" %} {% else if flair_part.flair_part_type == "text" %}{{ flair_part.value }}{% endif %} {% endfor %} {%- endmacro %} {% macro sub_list(current) -%} {% if prefs.subs.len() > 0 %}