Commit Graph
8 Commits
Author SHA1 Message Date
b77fb5f4e5 chore(sitemaps): refresh sitemaps (#52231)
Refreshes the sitemap snapshots in `sitemaps/` with the current values
from:

- `https://supabase.com/sitemap_www.xml` →
`sitemaps/json_output/sitemap_www.json`
- `https://supabase.com/docs/sitemap.xml` →
`sitemaps/json_output/sitemap_docs.json`
- `https://supabase.com/kb/sitemap-0.xml` →
`sitemaps/json_output/sitemap_kb.json`

Source: manual run

This PR was created automatically and is updated in place on each run.

---------

Co-authored-by: kodster28 <26727299+kodster28@users.noreply.github.com>
Co-authored-by: kodster28 <kody.jackson@supabase.io>
2026-10-23 09:10:29 -05:00
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 SansalvadoreandJonathan Summers-Muir 4bc3a231e3 contentlayer2 in www + dynamic latest blog posts (#26611)
* add contentlayer2 to www

* remove authorURL from blog post meta

* latest blog posts in Developers dropdown menu

* parse blog slug in contentlayer

* change next config plugins order

* contentlayer build in www package.json

* contentlayer2

* contentlayer2 build on typecheck in www

* remove comment

* Update package-lock.json

* revert npm package version

* Update package-lock.json

---------

Co-authored-by: Jonathan Summers-Muir <MildTomato@users.noreply.github.com>
2024-05-24 07:02:47 +00:00
Francesco Sansalvadore 7addf8ad3c add one category to each blog post 2023-08-23 11:24:40 +03:00
dannykng 0a7293b6e5 Update links 2022-12-15 14:34:32 -08:00
Jonathan Summers-Muir ec320c909f update links in blog posts 2022-08-07 20:18:59 -03:00
Jonathan Summers-Muir 8587a4eecd some link fixes 2022-06-14 23:34:02 +08:00
Copple 7bf96dcc09 moves the entire website into the apps folder 2022-04-21 12:04:22 +02:00