{% 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_or_default().to_uppercase(), method.get(1..).unwrap_or_default()) }} {% endfor %} {%- endmacro %} {% macro search(root, search) -%}
{%- endmacro %} {% macro render_flair(flair_parts) -%} {% for flair_part in flair_parts.clone() %}{% if flair_part.flair_part_type == "emoji" %}{% else if flair_part.flair_part_type == "text" && !flair_part.value.is_empty() %}{{ flair_part.value }}{% endif %}{% endfor %} {%- endmacro %} {% macro sub_list(current) -%}QUICK ACCESS FEEDS
{% for sub in prefs.quicklist %} {% if sub.starts_with("u_") -%}{%let sub = format!("u/{}", &sub[2..]) -%}{{ sub }}{% else -%}{{ sub }}{% endif -%} {% endfor %} {% endif %}MAIN FEEDS
Home Popular All {% if prefs.subscriptions.len() > 0 %}REDDIT FEEDS
{% for sub in prefs.subscriptions %} {% if sub.starts_with("u_") -%}{%let sub = format!("u/{}", &sub[2..]) -%}{{ sub }}{% else -%}{{ sub }}{% endif -%} {% endfor %} {% endif %}Enable HLS to view with audio, or disable this notification
Do you want to continue?
https://www.reddit.com{{ url }}
No, go back! Yes, take me to Reddit