Astro Friday

npm version npm downloads bundle size codecov license JSDocs

A content-focused Astro integration with tag and series support.

You can find source code in here.

Highlights

Usage

npm install astro-friday
# or
pnpm add astro-friday
# or
yarn add astro-friday
import friday from 'astro-friday'
import { defineConfig } from 'astro/config'

export default defineConfig({
  integrations: [
    friday({
      collections: {
        blog: {
          glob: {
            pattern: '**/*.md',
            base: './src/contents/blog',
          },
        },
      },
    }),
  ],
})
import collection from 'virtual:astro-friday-collection'

export const collections = collection()

That’s it! You can start your dev server and see the result.

More settings can be found in here.

Roadmap

Credits