Commit Graph
35 Commits
Author SHA1 Message Date
Kody JacksonandClaude Sonnet 5.5 647717417e chore(www) - Update 301 destinations to final resolution + fix some 404s (#53556)
## What

Updates links in `apps/www` that pointed at redirecting URLs so they
point at the final destination, and fixes a few broken links:

## Testing

- Every replacement destination was requested and returns 200 with no
further redirect
- Prettier passes on all changed files
- Content and data changes only, apart from the one-line `/vector` fix
in `MagnifiedProducts.tsx`

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 08:17:57 -06: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
Thor 雷神 Schaeff 0dbb5e5225 docs: update deno deps to jsr. (#27766)
docs: update deno desp to jsr.
2024-07-03 18:06:55 +08:00
Terry Sutton a5d00f9923 Chore/rename open ai key name (#21856)
* Rename OPENAI_KEY to OPENAI_API_KEY

* Force a redeploy
2024-04-25 09:38:56 -02:30
Greg Richardson f99e82f5bf Fix: embedding match query in blog post to correctly utilize index (#19136)
fix(blog): embedding match query to correctly utilize index
2023-11-22 13:58:07 -07:00
Ramiro Nuñez Dosio 6e7e964051 Update link. 2023-09-06 09:35:29 +01:00
Francesco Sansalvadore 4cd8561bcd fix prettier 2023-09-05 14:15:42 +02:00
Ramiro Nuñez Dosio 96c7e2566d Internal linking. 2023-09-05 11:09:46 +01:00
Francesco Sansalvadore 7addf8ad3c add one category to each blog post 2023-08-23 11:24:40 +03:00
Greg Richardson 2e56f5598a fix(blog): missing import in example codeblock 2023-08-15 10:08:54 -05:00
Greg Richardson a14f507908 fix(blog): broken links in pgvector post 2023-06-21 19:59:56 -06:00
Andy Kenward 3036e001b2 fix(www): invalid mdx video element attributes 2023-05-16 13:31:26 +00:00
Francesco Sansalvadore e7dc650fcd fix link 2023-05-15 18:07:54 +02:00
Francesco Sansalvadore e30ac4f5c4 format again 2023-05-15 17:52:52 +02:00
Francesco Sansalvadore dd4ea4bdce Merge branch 'master' into thor/blog-chatgpt-plugin-template 2023-05-15 17:36:51 +02:00
Francesco Sansalvadore a1e880de76 run formatting 2023-05-15 17:29:46 +02:00
Ramiro Nuñez Dosio cbfa4a9774 Internal linking. 2023-05-15 15:47:49 +01:00
Terry Sutton 1c2609edfa Merge branch 'master' into chore/prettier-fixes 2023-05-10 16:16:07 -02:30
Steve Chavez 26f7b4a596 Change pgvector post to use inlinable function 2023-05-05 12:34:41 -05:00
Pavel Borisov 4b598ae016 add planetpg tag to pgvector/embeddings blogpost 2023-05-02 15:30:59 +04:00
Greg Richardson 7ce8579358 chore(prettier): fix sql & format mdx files 2023-04-28 15:55:49 -06:00
nathan 0699a74dc3 fix: openai-pgvector embedding example function
Fix the function argument names in the pgvector example from `similarity_threshold` to `match_threshold` to be consistent with the typescript example below.

Remove the ambiguity with the `id` and `content` row names by adding the prefix `documents`.

Clean up the order by using the `similarity` column instead of the raw expression.
2023-04-24 20:40:52 +02:00
zaineb-damak 2b3eb2e308 correct grammatical mistake 2023-04-17 10:03:38 -07:00
Jonathan Summers-Muir 077cfe02bf formatting 2023-02-16 13:36:40 +08:00
Jonathan Summers-Muir b8f2591667 make tag names consistent 2023-02-16 13:32:07 +08:00
Bo Lu ef569f106f improve pgvector example code 2023-02-13 11:35:27 +11:00
Copple 568d93de1d Adds the new clippy post 2023-02-07 14:46:22 +01:00
Copple 55ad0fd4cb Deploy 2023-02-06 22:15:44 +01:00
Copple 90a52c4abf ignore mdx 2023-02-06 22:11:41 +01:00
Copple 937c5db39f Merge branch 'feat/docs-gpt-poc' of github.com:supabase/supabase into feat/docs-gpt-poc 2023-02-06 22:03:46 +01:00
Copple 0e99fa41b5 trying ignore blocks 2023-02-06 22:03:43 +01:00
Coppleandgithub-actions[bot] b3baba3f78 Update apps/www/_blog/2023-02-03-openai-embeddings-postgres-vector.mdx
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-06 21:58:31 +01:00
Coppleandgithub-actions[bot] 482e320ddd Update apps/www/_blog/2023-02-03-openai-embeddings-postgres-vector.mdx
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-06 21:58:12 +01:00
Coppleandgithub-actions[bot] 01719e236a Update apps/www/_blog/2023-02-03-openai-embeddings-postgres-vector.mdx
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-06 21:57:55 +01:00
Copple 442d871362 updates blog post 2023-02-06 21:10:07 +01:00