{% extends "base.html" %} {% import "utils.html" as utils %} {% block title %}{{ post.title }} - r/{{ post.community }}{% endblock %} {% block search %} {% call utils::search(["/r/", post.community.as_str()].concat(), "") %} {% endblock %} {% block root %}/r/{{ post.community }}{% endblock %}{% block location %}r/{{ post.community }}{% endblock %} {% block head %} {% call super() %} {% endblock %} {% block subscriptions %} {% call utils::sub_list(post.community.as_str()) %} {% endblock %} {% block content %}
r/{{ post.community }} • u/{{ post.author.name }} {% if post.author.flair.flair_parts.len() > 0 %} {% call utils::render_flair(post.author.flair.flair_parts) %} {% endif %} • {{ post.rel_time }} {% if !post.awards.is_empty() %} • {% for award in post.awards.clone() %} {{ award.count }} {% endfor %} {% endif %}
{{ post.title }} {% if post.flair.flair_parts.len() > 0 %} {% call utils::render_flair(post.flair.flair_parts) %} {% endif %} {% if post.flags.nsfw %} NSFW{% endif %}
{% if post.post_type == "image" %} {% else if post.post_type == "video" || post.post_type == "gif" %} {% if prefs.use_hls == "on" && !post.media.alt_url.is_empty() %} {% else %} {% call utils::render_hls_notification(post.permalink[1..]) %} {% endif %} {% else if post.post_type == "gallery" %}