feat: support book reviews
This commit is contained in:
parent
abb4ba37f3
commit
80d222cdbc
5 changed files with 7 additions and 5 deletions
|
@ -48,5 +48,6 @@ schema: book
|
|||
<p class="sub-meta"><a href="https://openlibrary.org/isbn/{{ book.isbn }}" title="View {{ book.title | escape }} on Open Library">View on Open Library</a></p>
|
||||
</div>
|
||||
</div>
|
||||
{% if book.review %}{{ book.review | markdown }}{% endif %}
|
||||
{% if book.description %}<p><em>{{ book.description }}</em></p>{% endif %}
|
||||
</article>
|
|
@ -39,7 +39,7 @@ schema: movie
|
|||
</div>
|
||||
{% if movie.review %}
|
||||
{% render "partials/banners/warning.liquid", text: "There are probably spoilers after this banner — this is a warning about them." %}
|
||||
<p>{{ movie.review | markdown }}</p>
|
||||
{{ movie.review | markdown }}
|
||||
<hr class="large-spacing" />
|
||||
{% endif %}
|
||||
{% if movie.description %}<p><em>{{ movie.description }}</em></p>{% endif %}
|
||||
|
|
Reference in a new issue