7.0.7 • Published 3 years ago

gatsby-theme-catalyst-blog v7.0.7

Weekly downloads
37
License
MIT
Repository
github
Last release
3 years ago

Gatsby Theme Catalyst Blog

This adds a blogging interface using MDX, similar to gatsby-theme-blog-core with some custom modifications. The theme can be added to any existing Catalyst-based site and will add blog functionality. This is a minimal implementation that is not designed to be used in a production site, but rather as a jumping off point for a production site.

The main features added to this blog theme are:

  • Support for a featured image on the blog posts
  • Support for a social image on the blog posts
  • Support for categories and tags
  • Support for different post types in the frontmatter to allow for conditional styling of posts
  • Drafts flag in frontmatter so you can keep posts in your repo that are drafts and not built in the final site
  • Ability to control the excerpt length used in post summaries

Documentation

https://www.gatsbycatalyst.com/

Demos

Theme options

OptionValuesDescription
contentPathStringDefaults to "content/posts", determines where the posts are created from.
assetPathStringDefaults to "content/assets", determines where the post assets like images are located.
basePathStringDefaults to "/blog", determines the page location for the post list.
excerptLengthStringDefaults to "140", determines the length of the excerpt use for post summaries.
postListTitleStringDefaults to "Posts", allows you to control the title of your post page, e.g. "Blog" or "Writing" or "Digital Garden"
displayPostListTitleBooleanDefaults to true, allows you to remove the visual title of your post page but keep it in the page title in the browser.
rssTitleStringDefaults to "RSS Feed", allows you to customize the title of the RSS feed.
rssDescriptionStringDefaults to "A great RSS feed", set the RSS description for your feed.

Example Config:

   {
      resolve: `gatsby-theme-catalyst-blog`,
      options: {
        basePath: `/`,
        contentPath: `src/content/posts`,
        assetPath: `src/content/post-images`,
        excerptLength: `280`,
      }
    }

Frontmatter Fields

The following fields are available in front matter.

FieldRequired?ValuesDescription
titleYesStringTitle of the post
dateYesDatePublication date, e.g. 2019-04-15
subTitleNoStringSub title or deck for blog posts
authorNoStringAuthor of the post
featuredImageNoStringFeatured image to be used for the post
featuredImageCaptionNoStringCaption for the featured image
socialImageNoStringSocial image to be used for the post
slugNoStringOptionally used to specify the link slug for the post
authorLinkNoStringUsed as a link for the author name in the post summaries
tagsNoArrayTags for the post, "tag1", "tag2", "tag3"
categoriesNoArrayCategories for the post, "cats", "dogs", "snakes"
keywordsNoArrayKeywords used for Seo, "key1", "key2", "key3"
draftNoBooleanDefaults to false, set to true if a post is a draft

Example frontmatter:

---
title: Hey, a draft post
date: 2019-04-15
featuredImage: ../assets/featured1.jpg
author: Eric Howey
authorLink: https://twitter.com/erchwy
tags: [Wicked, Awesome, Radical]
draft: true
slug: /blog/custom-post-slug
---

About Gatsby Theme Catalyst

The Catalyst series of themes and starters for GatsbyJS were designed to provide an opinionated set of integrated themes and starters that can be used to accelerate your next Gatsby project. The vision is for one "core" theme in which most dependencies and components are contained followed by progressively more styled and refined child themes and starters. These themes rely heavily on Theme-UI and MDX.

7.0.7

3 years ago

7.0.6

3 years ago

7.0.4

3 years ago

7.0.3

3 years ago

7.0.2

3 years ago

7.0.1

3 years ago

7.0.0

3 years ago

6.0.0-beta.7

3 years ago

6.0.0-beta.8

3 years ago

6.0.0-beta.9

3 years ago

6.0.0-beta.14

3 years ago

6.0.0-beta.13

3 years ago

6.0.0-beta.12

3 years ago

6.0.0-beta.11

3 years ago

6.0.0-beta.10

3 years ago

6.0.0

3 years ago

6.0.0-beta.6

3 years ago

6.0.0-beta.5

3 years ago

6.0.0-beta.4

3 years ago

6.0.0-beta.3

3 years ago

6.0.0-beta.2

3 years ago

6.0.0-beta.0

3 years ago

6.0.0-beta.1

3 years ago

6.0.0-alpha.9

3 years ago

6.0.0-alpha.10

3 years ago

6.0.0-alpha.11

3 years ago

6.0.0-alpha.4

3 years ago

6.0.0-alpha.5

3 years ago

6.0.0-alpha.6

3 years ago

6.0.0-alpha.7

3 years ago

6.0.0-alpha.8

3 years ago

3.0.0-alpha.2

3 years ago

3.0.0-alpha.1

3 years ago

3.0.0-alpha.0

3 years ago

2.6.8

3 years ago

2.6.8-alpha.1

3 years ago

2.6.7

3 years ago

2.6.6

3 years ago

2.6.4

3 years ago

2.6.3

3 years ago

2.6.2

4 years ago

2.6.1

4 years ago

2.6.0

4 years ago

2.5.0

4 years ago

2.4.4

4 years ago

2.4.3

4 years ago

2.4.2

4 years ago

2.4.1

4 years ago

2.4.0

4 years ago

2.3.3

4 years ago

2.3.2

4 years ago

2.3.1

4 years ago

2.3.0

4 years ago

2.2.1

4 years ago

2.2.3

4 years ago

2.2.2

4 years ago

2.2.0

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.0

4 years ago

1.0.0-beta.0

4 years ago

1.0.0-alpha.1

4 years ago

1.0.0-alpha.0

4 years ago

0.8.3

4 years ago

0.8.2

4 years ago

0.8.1

4 years ago

0.8.0

4 years ago

0.7.2

4 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.5

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago