Add hide_awards config

This commit is contained in:
Matthew Esposito 2023-01-01 21:39:38 -05:00
parent 6d8aaba8bb
commit 6a785baa2c
11 changed files with 34 additions and 24 deletions

View file

@ -65,7 +65,7 @@
<a class="post_author {{ post.author.distinguished }}" href="/u/{{ post.author.name }}">u/{{ post.author.name }}</a>
<span class="dot">&bull;</span>
<span class="created" title="{{ post.created }}">{{ post.rel_time }}</span>
{% if !post.awards.is_empty() %}
{% if !post.awards.is_empty() && prefs.hide_awards != "on" %}
{% for award in post.awards.clone() %}
<span class="award" title="{{ award.name }}">
<img alt="{{ award.name }}" src="{{ award.icon_url }}" width="16" height="16"/>
@ -104,4 +104,4 @@
</footer>
{% endif %}
</div>
{% endblock %}
{% endblock %}