fix: default og:image

This commit is contained in:
Cory Dransfeldt 2024-07-18 11:22:21 -07:00
parent faba57a896
commit 46a9725215
No known key found for this signature in database
3 changed files with 9 additions and 9 deletions

12
package-lock.json generated
View file

@ -1,18 +1,18 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "20.12.2", "version": "20.12.3",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "coryd.dev", "name": "coryd.dev",
"version": "20.12.2", "version": "20.12.3",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@cdransf/api-text": "^1.4.0", "@cdransf/api-text": "^1.4.0",
"@cdransf/select-pagination": "^1.3.1", "@cdransf/select-pagination": "^1.3.1",
"@cdransf/theme-toggle": "^1.3.2", "@cdransf/theme-toggle": "^1.3.2",
"minisearch": "^7.0.1", "minisearch": "^7.0.2",
"youtube-video-element": "^1.1.6" "youtube-video-element": "^1.1.6"
}, },
"devDependencies": { "devDependencies": {
@ -2557,9 +2557,9 @@
} }
}, },
"node_modules/minisearch": { "node_modules/minisearch": {
"version": "7.0.1", "version": "7.0.2",
"resolved": "https://registry.npmjs.org/minisearch/-/minisearch-7.0.1.tgz", "resolved": "https://registry.npmjs.org/minisearch/-/minisearch-7.0.2.tgz",
"integrity": "sha512-xLeX/AwTJLzgBF2/bdUI7MEePwXtzaLExkRwu8YFGfLDwSe06KYkplqPodLANsqvfc5Ks/r5ItFUSjIp7+9xtw==", "integrity": "sha512-Pf0sFXaCgRpOBDr4G8wTbVAEH9o9rvJzCMwj0TMe3L/NfUuG188xabfx6Vm3vD/Dv5L500n7JeiMB9Mq3sWMfQ==",
"license": "MIT" "license": "MIT"
}, },
"node_modules/mkdirp": { "node_modules/mkdirp": {

View file

@ -1,6 +1,6 @@
{ {
"name": "coryd.dev", "name": "coryd.dev",
"version": "20.12.2", "version": "20.12.3",
"description": "The source for my personal site. Built using 11ty (and other tools).", "description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module", "type": "module",
"scripts": { "scripts": {
@ -22,7 +22,7 @@
"@cdransf/api-text": "^1.4.0", "@cdransf/api-text": "^1.4.0",
"@cdransf/select-pagination": "^1.3.1", "@cdransf/select-pagination": "^1.3.1",
"@cdransf/theme-toggle": "^1.3.2", "@cdransf/theme-toggle": "^1.3.2",
"minisearch": "^7.0.1", "minisearch": "^7.0.2",
"youtube-video-element": "^1.1.6" "youtube-video-element": "^1.1.6"
}, },
"devDependencies": { "devDependencies": {

View file

@ -44,7 +44,7 @@
{%- assign pageDescription = description -%} {%- assign pageDescription = description -%}
{%- endif -%} {%- endif -%}
{%- assign ogImage = globals.opengraph_default -%} {%- assign ogImage = 'https://cdn.coryd.dev/' | append: globals.opengraph_default -%}
{%- case schema -%} {%- case schema -%}
{%- when 'music' -%} {%- when 'music' -%}
{%- assign ogImage = 'https://cdn.coryd.dev' | append: page.image -%} {%- assign ogImage = 'https://cdn.coryd.dev' | append: page.image -%}