Start richtext flairs

This commit is contained in:
robrobinbin
2021-01-12 22:43:03 +01:00
parent 065d82a5f5
commit bbe7024323
9 changed files with 97 additions and 56 deletions

View File

@ -46,9 +46,7 @@
<span class="datetime">{{ post.time }}</span>
</p>
<p class="post_title">
{% if post.flair.0 != "" %}
<small class="post_flair" style="color:{{ post.flair.2 }}; background:{{ post.flair.1 }}">{{ post.flair.0 }}</small>
{% endif %}
{% call utils::render_flair(post.flair) %}
<a href="{{ post.permalink }}">{{ post.title }}</a>
</p>
</div>