Skip to content

dailybruin/gatsby-source-kerckhoff

Repository files navigation

gatsby-source-kerckhoff

npm Build Status dependencies Status devDependencies Status code style: prettier Commitizen friendly license

A Gatsby plugin that draws from Kerckhoff, the Daily Bruin's static site content manager.

Usage

Install with your favorite JavaScript package manager, e.g.,

yarn add gatsby-source-kerckhoff

Then add it to your gatsby-config.js:

{
  resolve: '@dailybruin/gatsby-source-kerckhoff',
  options: {
    slug: 'online.demoaml',
  },
},

The slug is the last part of your project's Kerckhoff link. For example, the slug of https://kerckhoff.dailybruin.com/manage/packages/flatpages/online.demoaml is online.demoaml.

Development

The plugin is written in TypeScript. To build, run

yarn build

To develop, run

yarn start