forked from mirrors/bookwyrm
9 lines
419 B
HTML
9 lines
419 B
HTML
{% if status.content %}
|
|
<a href="{{ status.local_path }}">
|
|
{{ status.content | safe | truncatewords_html:10 }}{% if status.mention_books %} <em>{{ status.mention_books.first.title }}</em>{% endif %}
|
|
</a>
|
|
{% elif status.quote %}
|
|
<a href="{{ status.local_path }}">{{ status.quote | safe | truncatewords_html:10 }}</a>
|
|
{% elif status.rating %}
|
|
{% include 'snippets/stars.html' with rating=status.rating %}
|
|
{% endif %}
|