Basejump Logo

Basejump

DocsGetting StartedSupabase Test Helpers
Basejump on GithubBasejump on Twitter
Close Documentation Menu
  • Quick Start
  • Setup
  • Account Types
  • Configuration Variables
  • Environment Variables
  • Setup Stripe
  • Developing
  • Permissions and RLS
  • Convenience Methods
  • Content
  • Blog Template
  • Docs Template
  • Deploying
  • Setup Supabase
  • Deploying Migrations
  • Deploying to Vercel
Documentation Menu
Content

Blog Template

Basejump includes a basic blog template to get you started. Out of the box, it supports writing blogs using markdown files in the repo. It wouldn't be too hard to hook up Strapi or some other CMS, however, if you so wish.

Writing blog posts

To write your first blog post, you'll want to create a new markdown file located at /content/blog/[locale]/your-path-here.md. The locale is the language code for the blog post, so if you're writing a blog post in English, you'd use en. By default, blog articles are not published, to publish them, you'll need to add Frontmatter that includes a publish date.

Blog Metadata & Frontmatter

Frontmatter is a Markdown concept that allows you to add metadata to a markdown file. Basejump blog articles support the following metadata:

---
title: "Your Blog Title"
category: "Category 1"
published: 2022-01-01
description: "This is an automatically generated Basejump blog article!"
socialDescription: "Check out this automatically generated Basejump blog article!"
socialImage: "/images/basejump-logo.png"
---

Articles are sorted according to their published date with the most recent at the top. Any article that does not include a published date is not visible on the site.

Disabling blogs

If you don't want to leverage the built-in blog functionality, you can disable it by simply removing the blog folder from /src/pages. You'll also want to remove any links in the ContentHeader and ContentFooter.

Close Documentation Menu
  • Quick Start
  • Setup
  • Account Types
  • Configuration Variables
  • Environment Variables
  • Setup Stripe
  • Developing
  • Permissions and RLS
  • Convenience Methods
  • Content
  • Blog Template
  • Docs Template
  • Deploying
  • Setup Supabase
  • Deploying Migrations
  • Deploying to Vercel

© 2023 usebasejump.com

Basejump Logo

Basejump

  • Docs
  • Getting Started
  • Supabase Test Helpers
  • Basejump on GithubBasejump on Twitter