fix: artist page meta

This commit is contained in:
Cory Dransfeldt 2024-08-21 17:10:46 -07:00
parent ff34ccb26d
commit 51dd4db062
No known key found for this signature in database
3 changed files with 7 additions and 7 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "coryd.dev",
"version": "22.5.0",
"version": "22.5.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "coryd.dev",
"version": "22.5.0",
"version": "22.5.1",
"license": "MIT",
"dependencies": {
"@cdransf/api-text": "^1.5.0",

View file

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

View file

@ -32,7 +32,7 @@
{%- if schema == 'blog' -%}
{%- assign pageDescription = post.description | markdown | strip_html -%}
{%- elsif artist.description -%}
{%- assign pageDescription = artist.description | truncatewords: 50 -%}
{%- assign pageDescription = artist.description | markdown | strip_html | truncatewords: 50 -%}
{%- elsif book.description -%}
{%- assign pageDescription = book.review | markdown | strip_html | default: book.description | truncatewords: 50 -%}
{%- elsif movie.description -%}