templates/settings.html
{% extends "base.html" %} {% import "utils.html" as utils %} {% block title %}Libreddit Settings{% endblock %} {% block search %} {% call utils::search("".to_owned(), "", "") %} {% endblock %} {% block content %}
Appearance Theme: {% call utils::options(prefs.theme, prefs.available_themes, "system") %} Interface Front page: {% call utils::options(prefs.front_page, ["default", "popular", "all"], "default") %}
Layout: {% call utils::options(prefs.layout, ["card", "clean", "compact"], "card") %}
Wide UI: Content Default subreddit post sort: {% call utils::options(prefs.post_sort, ["hot", "new", "top", "rising", "controversial"], "hot") %}
Default comment sort: {% call utils::options(prefs.comment_sort, ["confidence", "top", "new", "controversial", "old"], "confidence") %} {% if !crate::utils::sfw_only() %} Show NSFW posts:
Blur NSFW previews: {% endif %} Autoplay videos
Use HLS for videos#Why? Reddit videos require JavaScript (via HLS.js) to be enabled to be played with audio. Therefore, this toggle lets you either use Libreddit JS-free or utilize this feature.
Hide notification about possible HLS usage
Hide awards
Do not confirm before visiting content on Reddit
{% if prefs.subscriptions.len() > 0 %} Subscribed Feeds {% for sub in prefs.subscriptions %} {% let feed -%} {% if sub.starts_with("u_") -%}{% let feed = format!("u/{}", &sub[2..]) -%}{% else -%}{% let feed = format!("r/{}", sub) -%}{% endif -%} {{ feed }}Unsubscribe {% endfor %} {% endif %} {% if !prefs.filters.is_empty() %} Filtered Feeds {% for sub in prefs.filters %} {% let feed -%} {% if sub.starts_with("u_") -%}{% let feed = format!("u/{}", &sub[2..]) -%}{% else -%}{% let feed = format!("r/{}", sub) -%}{% endif -%} {{ feed }}Unfilter {% endfor %} {% endif %}
Note: settings and subscriptions are saved in browser cookies. Clearing your cookies will reset them.
You can restore your current settings and subscriptions after clearing your cookies using this link.
{% endblock %}