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

@ -15,7 +15,7 @@ imageCaption: ""
</div>
<section class="[ catalogue-meta ] [ flow ]">
{% block title %}<h1>{{ title }}</h1>{% endblock %}
{% block subtitle %}<h2 class="[ text-fadeText ]" style="--flow-space: 0.25em">{{ subtitle }}</h2>{% endblock %}
{% if subtitle %}<h2 class="[ text-fadeText ]" style="--flow-space: 0.25em">{{ subtitle }}</h2>{% endif %}
{{ tertiary | safe }}
{% if rating %}
<div class="[ flex justify-center ]">
@ -24,12 +24,12 @@ imageCaption: ""
</div>
{% endif %}
{% if filteredTags | length > 0 %}
<ul class="[ categories list-none p-0 ] [ cluster justify-center ]">
<ul class="[ categories list-none p-0 mb-0 ] [ cluster justify-center ]">
{% for tag in filteredTags %}<li class="[ flex gap-0.25 ]">{{ tag }}</li>{% endfor %}
</ul>
{% endif %}
</section>
<hr class="[ my-1 ]" />
<hr class="[ my-1.5 ]" />
{% from "macros/date.njk" import format %}
{{ format(date) }}
{% block content %}{{ content | safe }}{% endblock %}