chore: book descriptions
This commit is contained in:
parent
f0246e000b
commit
d08f49032d
4 changed files with 6 additions and 6 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "19.7.2",
|
"version": "19.7.3",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "19.7.2",
|
"version": "19.7.3",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@cdransf/api-text": "^1.4.0",
|
"@cdransf/api-text": "^1.4.0",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "19.7.2",
|
"version": "19.7.3",
|
||||||
"description": "The source for my personal site. Built using 11ty.",
|
"description": "The source for my personal site. Built using 11ty.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -43,10 +43,10 @@
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
& blockquote.description {
|
& .description {
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
-webkit-line-clamp: 4;
|
-webkit-line-clamp: 6;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin-bottom: var(--sizing-base);
|
margin-bottom: var(--sizing-base);
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,7 +47,7 @@ schema: books
|
||||||
{%- assign percentage = book.progress | append: '%' -%}
|
{%- assign percentage = book.progress | append: '%' -%}
|
||||||
{% render "partials/media/progress-bar.liquid", percentage:percentage %}
|
{% render "partials/media/progress-bar.liquid", percentage:percentage %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if book.description %}<blockquote class="description">{{ book.description }}</blockquote>{% endif %}
|
{% if book.description %}<div class="description">{{ book.description | markdown }}</div>{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
{% endfor %}
|
{% endfor %}
|
Reference in a new issue