chore: spoiler banner
This commit is contained in:
parent
00fd39db89
commit
4af46bc36a
2 changed files with 2 additions and 1 deletions
|
@ -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": {
|
||||||
|
|
|
@ -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 %}
|
||||||
|
|
Reference in a new issue