Socket
Book a DemoInstallSign in
Socket

@dschau/gatsby-theme-blog

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dschau/gatsby-theme-blog

The theme for blog.dustinschau.com

latest
npmnpm
Version
0.2.3
Version published
Maintainers
1
Created
Source

@dschau/gatsby-theme-blog

The backing theme powering my blog.

Note: this isn't generally applicable... yet. I wanted to explore themes, and this was my way of exploring. However--by all means, check it out and see if you can customize and use for your own blog!

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!

Keywords

gatsby

FAQs

Package last updated on 15 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts