The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix: issue with blog urls
Jonathan Summers-Muir7e03ae76ad5f
diff --git a/apps/www/_alternatives/supabase-vs-firebase.mdx b/apps/www/_alternatives/supabase-vs-firebase.mdxindex 893233e3517..20355efa97a 100644--- a/apps/www/_alternatives/supabase-vs-firebase.mdx+++ b/apps/www/_alternatives/supabase-vs-firebase.mdx@@ -2,8 +2,6 @@title: Supabase vs Firebasedescription: Supabase is an Open Source Firebase Alternative with a SQL based Database, Auth, and Cloud Functionsauthor: ant_wilson-image: partner-gallery/partner-showcase-thumb.png-thumb: partner-gallery/partner-showcase-thumb.pngtags:- comparisondate: '2022-05-26'@@ -44,7 +42,7 @@ Both Firebase and Supabase have invested heavily in client side libraries so you## How are they different?-Firebase and Supabase differ in several ways. The main one being that Firebase is a document store, whereas Supabase is based on PostgreSQL - a relational, SQL-based database management system.+Firebase and Supabase differ in several ways. The main one being that Firebase is a document store, whereas Supabase is based on PostgreSQL - a relational, SQL-based database management system.There are some other important differences.diff --git a/apps/www/_alternatives/supabase-vs-heroku-postgres.mdx b/apps/www/_alternatives/supabase-vs-heroku-postgres.mdxindex 50fadb5b16c..b1fa67553dc 100644--- a/apps/www/_alternatives/supabase-vs-heroku-postgres.mdx+++ b/apps/www/_alternatives/supabase-vs-heroku-postgres.mdx@@ -2,8 +2,6 @@title: Supabase vs Heroku Postgresdescription: Supabase is an alternative to Heroku Postgres with Enterprise Grade Support availableauthor: ant_wilson-image: partner-gallery/partner-showcase-thumb.png-thumb: partner-gallery/partner-showcase-thumb.pngtags:- comparisondate: '2022-05-26'diff --git a/apps/www/layouts/comparison.tsx b/apps/www/layouts/comparison.tsxindex 65dd6b61d72..8146f6b4d80 100644--- a/apps/www/layouts/comparison.tsx+++ b/apps/www/layouts/comparison.tsx@@ -64,7 +64,7 @@ const LayoutComparison = ({ components, props, gfm, slug }: Props) => {openGraph={{title: props.blog.title,description: props.blog.description,- url: `https://supabase.com/blog/${props.blog.slug}`,+ url: `https://supabase.com/alternatives/${props.blog.slug}`,type: 'article',article: {//diff --git a/apps/www/pages/alternatives/[slug].tsx b/apps/www/pages/alternatives/[slug].tsxindex ff08d81f396..6ee4340fa47 100644--- a/apps/www/pages/alternatives/[slug].tsx+++ b/apps/www/pages/alternatives/[slug].tsx@@ -70,7 +70,7 @@ export async function getStaticProps({ params }: any) {nextPost: currentIndex === allPosts.length ? null : nextPost ? nextPost : null,relatedPosts,blog: {- slug: `${params.year}/${params.month}/${params.day}/${params.slug}`,+ slug: `${params.slug}`,content: mdxSource,...data,toc: toc(content, { maxdepth: data.toc_depth ? data.toc_depth : 2 }),diff --git a/apps/www/pages/blog.tsx b/apps/www/pages/blog.tsxindex 77040dfafd2..1276cfae372 100644--- a/apps/www/pages/blog.tsx+++ b/apps/www/pages/blog.tsx@@ -104,10 +104,7 @@ function Blog(props: any) {<div className="col-span-12 lg:col-span-12"><Tabs scrollable size="medium" onChange={setCategory} defaultActiveId={'all'}>{props.categories.map((categoryId: string) => (- <Tabs.Panel id={categoryId} key={categoryId} label={categoryId}>- {/* <p>{categoryId}</p> */}- <></>- </Tabs.Panel>+ <Tabs.Panel id={categoryId} key={categoryId} label={categoryId} />))}</Tabs></div>diff --git a/apps/www/pages/blog/[slug].tsx b/apps/www/pages/blog/[slug].tsxindex 9c05e24c8d1..e7589fe4c26 100644--- a/apps/www/pages/blog/[slug].tsx+++ b/apps/www/pages/blog/[slug].tsx@@ -100,7 +100,7 @@ export async function getStaticProps({ params }: any) {nextPost: currentIndex === allPosts.length ? null : nextPost ? nextPost : null,relatedPosts,blog: {- slug: `${params.year}/${params.month}/${params.day}/${params.slug}`,+ slug: `${params.slug}`,content: mdxSource,...data,toc: toc(content, { maxdepth: data.toc_depth ? data.toc_depth : 2 }),@@ -181,6 +181,7 @@ function BlogPostPage(props: any) {description: props.blog.description,url: `https://supabase.com/blog/${props.blog.slug}`,type: 'article',+article: {//// to do: add expiration and modified dates@@ -199,6 +200,7 @@ function BlogPostPage(props: any) {url: `https://supabase.com${basePath}/images/blog/${props.blog.image ? props.blog.image : props.blog.thumb}`,+ alt: `${props.blog.title} thumbnail`,},],}}diff --git a/apps/www/public/rss.xml b/apps/www/public/rss.xmlindex f5333d175a5..d84e6214071 100644--- a/apps/www/public/rss.xml+++ b/apps/www/public/rss.xml@@ -11,7 +11,7 @@<guid>https://supabase.com/blog/slack-consolidate-slackbot-to-consolidate-messages</guid><title>Slack Consolidate: a slackbot built with Python and Supabase</title><link>https://supabase.com/blog/slack-consolidate-slackbot-to-consolidate-messages</link>- <description>Different approaches for tracking visitor counts with PostgreSQL.</description>+ <description>A slackbot to consolidate messages from different channels using Supabase, Slack SDK and Python</description><pubDate>Mon, 08 Aug 2022 03:03:00</pubDate></item><item>