From 51dd4db0628f240c631c046ec9389d0e2479ace9 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Wed, 21 Aug 2024 17:10:46 -0700 Subject: [PATCH] fix: artist page meta --- package-lock.json | 4 ++-- package.json | 2 +- src/includes/base.liquid | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3e0c6663..44871501 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", diff --git a/package.json b/package.json index 6eaba3f2..6baa5233 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/includes/base.liquid b/src/includes/base.liquid index 35c078de..d631b5e8 100644 --- a/src/includes/base.liquid +++ b/src/includes/base.liquid @@ -32,13 +32,13 @@ {%- 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 -%} + {%- assign pageDescription = book.review | markdown | strip_html | default: book.description | truncatewords: 50 -%} {%- elsif movie.description -%} - {%- assign pageDescription = movie.review | markdown | strip_html | default: movie.description | truncatewords: 50 -%} + {%- assign pageDescription = movie.review | markdown | strip_html | default: movie.description | truncatewords: 50 -%} {%- elsif show.description -%} - {%- assign pageDescription = show.review | markdown | strip_html | default: show.description | truncatewords: 50 -%} + {%- assign pageDescription = show.review | markdown | strip_html | default: show.description | truncatewords: 50 -%} {%- elsif genre.description -%} {%- assign pageDescription = genre.description | markdown | strip_html | truncatewords: 50 -%} {%- elsif page.description -%}