Commit Graph
25 Commits
Author SHA1 Message Date
Danny White ba107edbda chore(www): clarify image paths (#41451)
## What kind of change does this PR introduce?

Frontmatter name change.

## What is the current behavior?

We repeatedly mistake `thumb` for `image` and visa versa, meaning the
wrong images are used for Open Graph and in-site thumbnails on blog
posts. Events and case studies use the same naming convention too.

## What is the new behavior?

These two bits of frontmatter are renamed for clarity:

  - Blog posts: `imgThumb` + `imgSocial`

That mapping for blog posts:

- `thumb` is now `imgThumb`
- `image` is now `imgSocial`

These related bits remain as-is:

  - Events
  - Case studies

The
[www/README.md](https://github.com/supabase/supabase/blob/dnywh/chore/blog-image-frontmatter/apps/www/README.md#best-practices)
file has been expanded to clarify all of the above. It now also provides
instructions on image optimisation.

## To test

A lot of files were touched here. Please help make sure:

- [ ] The CMS works as intended. This is the **biggest unknown**.
- [x] All blog posts render the correct image as their on-site thumbnail
and Open Graph image. You can test the latter by firing up a draft
iMessage. Online Open Graph services like Facebook cache images, so
aren’t reliable.
- [x] All events render their correct images
- [x] All case studies render their correct images
- [x] All customer stories render their correct images ([known
issue](https://supabase.slack.com/archives/C072FL5KKKP/p1768888063209359?thread_ts=1768885681.502169&cid=C072FL5KKKP),
predates this work)
2026-01-29 11:29:26 +11:00
Francesco Sansalvadore 7addf8ad3c add one category to each blog post 2023-08-23 11:24:40 +03:00
Greg Richardson 7ce8579358 chore(prettier): fix sql & format mdx files 2023-04-28 15:55:49 -06:00
Pavel Borisov f6d0ae7720 Make planetpg rss feed and add selected posts from existing postgres
tag to it
2023-01-09 16:28:37 +03:00
Ramiro Nuñez Dosio 2c4972d7df Fixed urls.
Fixed URLs that went to 404
2022-11-20 14:17:50 +00:00
0xflotus 1a28e77bc3 Update 2022-10-03-postgres-wasm.mdx 2022-11-14 15:20:08 +01:00
0xflotus 02a6eb640e Update 2022-10-03-postgres-wasm.mdx 2022-11-14 15:17:40 +01:00
0xflotus 91bbea98b1 Update 2022-10-03-postgres-wasm.mdx 2022-11-14 15:16:09 +01:00
Mark Burggraf e5f3c3fd56 typo fixed and added step to Just For Fun section 2022-10-03 09:24:27 -07:00
Mark Burggraf 7d15e93675 typo fixed and added step to Just For Fun section 2022-10-03 09:21:31 -07:00
Ant Wilson 62981d0849 fix: postgresQL capitalization 2022-10-03 16:59:05 +02:00
Ramiro Nuñez DosioandJoel Lee 0f4e4395d4 Update apps/www/_blog/2022-10-03-postgres-wasm.mdx
Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
2022-10-03 13:34:12 +01:00
Ramiro Nuñez DosioandJoel Lee bcca0d5ac6 Update apps/www/_blog/2022-10-03-postgres-wasm.mdx
Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
2022-10-03 13:33:57 +01:00
Ramiro Nuñez DosioandJoel Lee 3139238849 Update apps/www/_blog/2022-10-03-postgres-wasm.mdx
Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com>
2022-10-03 13:33:46 +01:00
Ramiro Nuñez Dosio 9c9a6bbdd1 Updated description. 2022-10-03 13:33:01 +01:00
Copple b4e902a653 Small text edit to keep life simple 2022-10-03 14:18:04 +02:00
Copple 82a7a29de7 styles the aside 2022-10-03 13:30:11 +02:00
Copple 748b14fb3f Adds diagrams 2022-10-03 13:26:04 +02:00
Copple 6ac6fc5856 spelling 2022-10-03 12:58:51 +02:00
Copple e9c559c376 grammar 2022-10-03 12:31:19 +02:00
Copple 287d777312 images for browser 2022-10-03 12:24:47 +02:00
Copple 296a1967c0 fix OG thumb 2022-10-03 12:09:04 +02:00
Copple 0f39645b78 Adds an OG 2022-10-03 12:01:04 +02:00
Copple 88418caa5f basic updates 2022-10-03 11:41:59 +02:00
Copple 9f016f690d init post 2022-10-03 11:23:21 +02:00