Skip to content
The Gatsby-powered theme for my blog
JavaScript
Branch: master
Clone or download
This branch is even with DSchau:master.

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.eslintrc.js
.gitignore
.huskyrc.js
.prettierrc
LICENSE
README.md
gatsby-config.js
gatsby-node.js
index.js
lint-staged.config.js
package.json
renovate.json
yarn.lock

README.md

@dschau/gatsby-theme-blog

Now lives at DSchau/gatsby-themes

Install

npm install --save @dschau/gatsby-theme-blog gatsby@^2.0.75

Usage

In gatsby-config.js:

module.exports = {
  __experimentalThemes: [
    {
      resolve: '@dschau/gatsby-theme-blog',
      options: {
        root: __dirname,
      },
    },
  ],
}

Additionally, you'll need to create a content folder with Markdown files powering the blog.

mkdir -p content/blog/2018-12-28-hello-world
touch content/blog/2018-12-28-hello-world/index.md

A sample post is below:

---
date: '2018-12-28'
title: 'Hello World'
excerpt: 'This is an excerpt optimized for SEO'
featured: ./images/create-an-image-here.jpg
tags:
  - gatsby
  - is
  - wonderful
---

Hello World! This is my first post! I'll have great features enabled by default, including:

- Syntax highlighting with triple backticks
- Responsive images
- Responsive iframe embeds
- and more!
You can’t perform that action at this time.