Skip to content

Repository files navigation

Install

  1. Clone Repo
  2. pnpm install
  3. pnpm dev

Post Front Matter Definitions

active: boolean

Flag to the post in feed or not. Useful for hiding drafts and templates.

title: string

Title of the blog post.

date: string

Original date posted. Format: `YYYY-MM-DD`

updated: string

Date of last updates. Format: `YYYY-MM-DD`

categories: string[]

Categories to assign to post. Used to generate list of categories for users to filter against.

coverImage: string

Path to the cover image file.

coverWidth: number

Width of the cover image in ratio format.

coverHeight: number

Height of cover image in ratio format.

excerpt: string

Body of the share card for the article on social media.

preview: string

Body that is listed in the blog post feeds for preview of the post. Used on pages such as homepage and /blog

coverPhotoCredited: boolean

If the photo requires attribution, set to true

coverSource: string?

Required for `coverPhotoCredited` === `true`
Full URL to the photo itself.

coverAuther: string?

Required for `coverPhotoCredited` === `true`
Name of the person/entity to be credited

coverAuthorSource: string?

Required for `coverPhotoCredited` === `true`
Full URL to the profile page of the person/entity

Docs

About

Blog

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages