fix: book not showing author

This commit is contained in:
Devin Haska 2024-02-22 15:15:00 -08:00
parent 41b79ba54d
commit 47d015eedb
4 changed files with 9 additions and 4 deletions

View file

@ -1,7 +1,7 @@
{% macro stars(number) %}
{% set filledStars = number %}
{% set emptyStars = 5 - number %}
<ul class="[ stars ] [ flex list-none p-0 text-primary ]" aria-description="{{ number }} out of 5 stars">
<ul class="[ stars ] [ flex list-none p-0 m-0 text-primary ]" aria-description="{{ number }} out of 5 stars">
{% for i in range(0, filledStars) %}
<li>{% include "svgs/star.svg" %}</li>
{% endfor %}