Keep tags since its now in html

This commit is contained in:
Syer10
2025-08-15 11:51:14 -04:00
parent 5cd914f007
commit 9aab6d90f7
+8 -10
View File
@@ -65,15 +65,13 @@
{% endfor %} {% endfor %}
<content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml"> <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
{% if entry.Books.ratings.__len__() > 0 %} {% if entry.Books.ratings.__len__() > 0 %}
RATING: RATING: {% for number in range((entry.Books.ratings[0].rating/2)|int(2)) %}
{% for number in range((entry.Books.ratings[0].rating/2)|int(2)) %} ★{% if loop.last and loop.index < 5 %}
★ {% for numer in range(5 - loop.index) %}
{% if loop.last and loop.index < 5 %} ★
{% for numer in range(5 - loop.index) %} {% endfor %}
★ {% endif %}
{% endfor %} {% endfor %}<br/>
{% endif %}
{% endfor %}<br/>
{% endif %} {% endif %}
{% if entry.Books.tags|length > 0 %} {% if entry.Books.tags|length > 0 %}
TAGS: {% for tag in entry.Books.tags %}{{tag.name}}{{ ", " if not loop.last else "" }}{% endfor %}<br/> TAGS: {% for tag in entry.Books.tags %}{{tag.name}}{{ ", " if not loop.last else "" }}{% endfor %}<br/>
@@ -119,7 +117,7 @@
{% endif %} {% endif %}
{% if entry.Books.comments[0] %} {% if entry.Books.comments[0] %}
<p>{{entry.Books.comments[0].text|striptags}}</p> <p>{{entry.Books.comments[0].text}}</p>
{% endif %} {% endif %}
</div></content> </div></content>
{% if entry.Books.has_cover %} {% if entry.Books.has_cover %}