mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 17:35:10 +03:00
fix: issue with blog urls
This commit is contained in:
1 parent
4cab63fa82
commit
7e03ae76ad
7 files changed
+8
-13
No files matched your search
@@ -2,8 +2,6 @@
|
||||
title: Supabase vs Firebase
|
||||
description: Supabase is an Open Source Firebase Alternative with a SQL based Database, Auth, and Cloud Functions
|
||||
author: ant_wilson
|
||||
image: partner-gallery/partner-showcase-thumb.png
|
||||
thumb: partner-gallery/partner-showcase-thumb.png
|
||||
tags:
|
||||
- comparison
|
||||
date: '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.
|
||||
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
title: Supabase vs Heroku Postgres
|
||||
description: Supabase is an alternative to Heroku Postgres with Enterprise Grade Support available
|
||||
author: ant_wilson
|
||||
image: partner-gallery/partner-showcase-thumb.png
|
||||
thumb: partner-gallery/partner-showcase-thumb.png
|
||||
tags:
|
||||
- comparison
|
||||
date: '2022-05-26'
|
||||
|
||||
@@ -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: {
|
||||
//
|
||||
|
||||
@@ -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 }),
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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`,
|
||||
},
|
||||
],
|
||||
}}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user