diff options
| author | Joe Carstairs <me@joeac.net> | 2026-04-25 11:02:50 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-04-25 11:02:50 +0100 |
| commit | 8744ba58c9bf46886a79cb3ca7df8480a90542d2 (patch) | |
| tree | c0e8e879cd62469482ea2bf20cacbfa51200d8c3 | |
| parent | 728bc67ddfa82fc6c7495782b5bfd50ed402ae4b (diff) | |
moves website/public/images to common/images
| -rw-r--r-- | common/images/blog/2024/05/02/beautiful_youtube_homepage.jpg (renamed from website/public/images/blog/2024/05/02/beautiful_youtube_homepage.jpg) | bin | 55904 -> 55904 bytes | |||
| -rw-r--r-- | common/images/blog/2024/06/30/ncuti-gatwa-promo-pic.webp (renamed from website/public/images/blog/2024/06/30/ncuti-gatwa-promo-pic.webp) | bin | 89832 -> 89832 bytes | |||
| -rw-r--r-- | common/images/headshot.webp (renamed from website/public/images/headshot.webp) | bin | 29186 -> 29186 bytes | |||
| -rw-r--r-- | common/images/headshot_large.jpg (renamed from website/public/images/headshot_large.jpg) | bin | 971952 -> 971952 bytes | |||
| l--------- | website/public/images | 1 | ||||
| l--------- | website/public/images/capsule | 1 | ||||
| -rw-r--r-- | website/src/pages/blog/[...slug].astro | 1 |
7 files changed, 1 insertions, 2 deletions
diff --git a/website/public/images/blog/2024/05/02/beautiful_youtube_homepage.jpg b/common/images/blog/2024/05/02/beautiful_youtube_homepage.jpg Binary files differindex b584611..b584611 100644 --- a/website/public/images/blog/2024/05/02/beautiful_youtube_homepage.jpg +++ b/common/images/blog/2024/05/02/beautiful_youtube_homepage.jpg diff --git a/website/public/images/blog/2024/06/30/ncuti-gatwa-promo-pic.webp b/common/images/blog/2024/06/30/ncuti-gatwa-promo-pic.webp Binary files differindex cd74f23..cd74f23 100644 --- a/website/public/images/blog/2024/06/30/ncuti-gatwa-promo-pic.webp +++ b/common/images/blog/2024/06/30/ncuti-gatwa-promo-pic.webp diff --git a/website/public/images/headshot.webp b/common/images/headshot.webp Binary files differindex 0c2a15b..0c2a15b 100644 --- a/website/public/images/headshot.webp +++ b/common/images/headshot.webp diff --git a/website/public/images/headshot_large.jpg b/common/images/headshot_large.jpg Binary files differindex 2ca13cf..2ca13cf 100644 --- a/website/public/images/headshot_large.jpg +++ b/common/images/headshot_large.jpg diff --git a/website/public/images b/website/public/images new file mode 120000 index 0000000..ccc7a5b --- /dev/null +++ b/website/public/images @@ -0,0 +1 @@ +../../common/images/
\ No newline at end of file diff --git a/website/public/images/capsule b/website/public/images/capsule deleted file mode 120000 index 4886e17..0000000 --- a/website/public/images/capsule +++ /dev/null @@ -1 +0,0 @@ -../../../common/images/
\ No newline at end of file diff --git a/website/src/pages/blog/[...slug].astro b/website/src/pages/blog/[...slug].astro index 86cdcfe..c362dfc 100644 --- a/website/src/pages/blog/[...slug].astro +++ b/website/src/pages/blog/[...slug].astro @@ -31,7 +31,6 @@ const GemtextHTMLRenderer: Gemtext.Renderer<string> = { return `<p>${htmlEscape(content)}</p>` }, link: function (url: string, alt: string): string { - url = url.replaceAll(/^\/images\//g, '/images/capsule/'); const imgExtensions: (string | undefined)[] = ['webp', 'png', 'svg', 'gif', 'jpg', 'jpeg', 'apng'] if (imgExtensions.includes(url.split('.').at(-1)?.toLowerCase())) { return `<img src="${url}" alt="${alt}" />`; |
