Commit Graph
4 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 b7cac428f0 Update og images (#20704)
update og images
2024-01-25 12:55:50 +01:00
Ant Wilson 090a9e3b06 chore: go straight to content (#20444) 2024-01-16 22:11:53 +08:00
Ramiro Nuñez DosioandFrancesco Sansalvadore dcde591c7d Blog post: Elixir Clustering using Postgres (#20236)
* Blog post: Elixir Clustering using Postgres

* Create author, add diagrams.

* Fix date.

* Add author and images.

* Add og and final updates.

* prettify blog post

* add space to blog post link

* prettify authors.json

* Add image with lightmode.

---------

Co-authored-by: Francesco Sansalvadore <f.sansalvadore@gmail.com>
2024-01-09 15:43:48 +00:00