From 9d5be861980d0956720afe8af993cf750c3f4bd5 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Thu, 1 Aug 2024 14:24:38 -0700 Subject: [PATCH] fix: artist page titles --- package-lock.json | 16 ++++++++-------- package.json | 2 +- src/includes/base.liquid | 5 ++--- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index f92bdf0a..937bb18b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "coryd.dev", - "version": "21.1.2", + "version": "21.1.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "coryd.dev", - "version": "21.1.2", + "version": "21.1.3", "license": "MIT", "dependencies": { "@cdransf/api-text": "^1.4.0", @@ -825,9 +825,9 @@ } }, "node_modules/browserslist": { - "version": "4.23.2", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.2.tgz", - "integrity": "sha512-qkqSyistMYdxAcw+CzbZwlBy8AGmS/eEWs+sEV5TnLRGDOL+C5M2EnH6tlZyg0YoAxGJAFKh61En9BR941GnHA==", + "version": "4.23.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.23.3.tgz", + "integrity": "sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA==", "dev": true, "funding": [ { @@ -845,9 +845,9 @@ ], "license": "MIT", "dependencies": { - "caniuse-lite": "^1.0.30001640", - "electron-to-chromium": "^1.4.820", - "node-releases": "^2.0.14", + "caniuse-lite": "^1.0.30001646", + "electron-to-chromium": "^1.5.4", + "node-releases": "^2.0.18", "update-browserslist-db": "^1.1.0" }, "bin": { diff --git a/package.json b/package.json index 5f436eb8..5b3756ec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "21.1.2", + "version": "21.1.3", "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 be6d7e81..48aa535f 100644 --- a/src/includes/base.liquid +++ b/src/includes/base.liquid @@ -1,12 +1,11 @@ {%- assign fullUrl = globals.url | append: page.url -%} - {%- assign pageTitle = globals.site_name -%} {%- if schema == 'blog' -%} {%- assign pageTitle = post.title -%} {%- elsif title -%} {%- assign pageTitle = title | append: ' / ' | append: globals.site_name -%} -{%- elsif artist.name_string -%} - {%- assign pageTitle = 'Artists / ' | append: artist.name_string | append: ' / ' | append: globals.site_name -%} +{%- elsif artist.name -%} + {%- assign pageTitle = 'Artists / ' | append: artist.name | append: ' / ' | append: globals.site_name -%} {%- elsif schema == 'music-index' -%} {%- assign pageTitle = 'Music / ' | append: globals.site_name -%} {%- elsif schema == 'music-period' -%}