chore: spoiler banner

This commit is contained in:
Cory Dransfeldt 2024-07-15 18:43:29 -07:00
parent 00fd39db89
commit 4af46bc36a
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "20.8.0", "version": "20.8.1",
"description": "The source for my personal site. Built using 11ty (and other tools).", "description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module", "type": "module",
"scripts": { "scripts": {

View file

@ -49,6 +49,7 @@ schema: book
</div> </div>
</div> </div>
{% if book.review %} {% if book.review %}
{% render "partials/blocks/banners/warning.liquid", text: "There are probably spoilers after this banner — this is a warning about them." %}
{{ book.review | markdown }} {{ book.review | markdown }}
<hr /> <hr />
{% endif %} {% endif %}