fix: book not showing author
This commit is contained in:
parent
41b79ba54d
commit
47d015eedb
4 changed files with 9 additions and 4 deletions
|
@ -15,7 +15,7 @@ imageCaption: ""
|
||||||
</div>
|
</div>
|
||||||
<section class="[ catalogue-meta ] [ flow ]">
|
<section class="[ catalogue-meta ] [ flow ]">
|
||||||
{% block title %}<h1>{{ title }}</h1>{% endblock %}
|
{% 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 }}
|
{{ tertiary | safe }}
|
||||||
{% if rating %}
|
{% if rating %}
|
||||||
<div class="[ flex justify-center ]">
|
<div class="[ flex justify-center ]">
|
||||||
|
@ -24,12 +24,12 @@ imageCaption: ""
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if filteredTags | length > 0 %}
|
{% 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 %}
|
{% for tag in filteredTags %}<li class="[ flex gap-0.25 ]">{{ tag }}</li>{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</section>
|
</section>
|
||||||
<hr class="[ my-1 ]" />
|
<hr class="[ my-1.5 ]" />
|
||||||
{% from "macros/date.njk" import format %}
|
{% from "macros/date.njk" import format %}
|
||||||
{{ format(date) }}
|
{{ format(date) }}
|
||||||
{% block content %}{{ content | safe }}{% endblock %}
|
{% block content %}{{ content | safe }}{% endblock %}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{% macro stars(number) %}
|
{% macro stars(number) %}
|
||||||
{% set filledStars = number %}
|
{% set filledStars = number %}
|
||||||
{% set emptyStars = 5 - 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) %}
|
{% for i in range(0, filledStars) %}
|
||||||
<li>{% include "svgs/star.svg" %}</li>
|
<li>{% include "svgs/star.svg" %}</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -3,4 +3,8 @@ module.exports = {
|
||||||
tags: "book",
|
tags: "book",
|
||||||
permalink: "catalogue/books/{{ page.fileSlug }}/index.html",
|
permalink: "catalogue/books/{{ page.fileSlug }}/index.html",
|
||||||
linkTitle: "View book details",
|
linkTitle: "View book details",
|
||||||
|
eleventyComputed: {
|
||||||
|
tertiary: (data) =>
|
||||||
|
`<p style="--flow-space: 0.5em"><span class="[ text-fadeText ]">by</span> ${data.author}</p>`,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -5,6 +5,7 @@ date: 2024-01-27
|
||||||
image: https://cdn.wonderfulfrog.com/Citizen_Sleeper_cover_art.jpg
|
image: https://cdn.wonderfulfrog.com/Citizen_Sleeper_cover_art.jpg
|
||||||
tags: ["pc"]
|
tags: ["pc"]
|
||||||
year: 2022
|
year: 2022
|
||||||
|
rating: 4
|
||||||
---
|
---
|
||||||
|
|
||||||
I loved the dice system that powered the entire game. It made it feel like you have control over the situation (you can choose where to put your dice rolls), but at the same time none at all (the result is still a dice roll). I especially liked that every choice never felt like a great option. Every choice will inadvertently affect someone or something else negatively. There was never a clear-cut best choice.
|
I loved the dice system that powered the entire game. It made it feel like you have control over the situation (you can choose where to put your dice rolls), but at the same time none at all (the result is still a dice roll). I especially liked that every choice never felt like a great option. Every choice will inadvertently affect someone or something else negatively. There was never a clear-cut best choice.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue