Skip to main content
View plugin on GitHub
See starters using this

Install

yarn add gatsby-theme-cat

Development

# dev
yarn dev

# publish
yarn deploy

Usage

gatsby-config:

module.exports = {
  siteMetadata: {
    title: `chris kwok`,
    siteUrl: `https://justwink.cn/`,
    description: `chriskwok's Personal Blog`,
    author: `chris kwok`,
    siteLogo: 'sun', // Remix icon
    byteDance: [''], // Typewriter
    authorURL: `https://justwink.cn/`,
    socials: [
      {
        icon: 'mail-send',
        name: 'Email',
        url: 'mailto:baozaodexianyu@163.com'
      },
    ]
  },
  plugins: [
    {
      resolve: `gatsby-theme-cat`,
      options: {
        postPath: 'posts',
        mdxExtensions: ['.mdx', '.md'],
        htmlLang: 'zh'
      }
    },
    {
      resolve: `gatsby-plugin-manifest`,
      options: {
        name: 'chris kwok',
        short_name: 'christian',
        start_url: `/`,
        background_color: `#fff`,
        theme_color: `#fff`,
        display: `standalone`,
        icon: 'static/favicon.png'
      }
    }
  ]
}

markdown:

---
title: Break the cycle
description: Love is louder than all your pain
date: 2019-12-15 22:52:00
published: true
cover: ./Arseny Togulev.jpeg
coverAuthor: Arseny Togulev
coverOriginalUrl: https://unsplash.com/photos/mnx3NlXwKdg
---

在世间,本就是各人下雪,各人有各人的隐晦和皎洁。

---