7.0.7 • Published 3 years ago

gatsby-theme-catalyst-lithium v7.0.7

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

Gatsby Theme Catalyst Lithium

This is an MDX based personal blog theme that ties together the core theme, blog theme, header and footer themes and then uses this as a basis to create a complete website. Git is used as the CMS. Styling is intentionally basic and is intended to be customized in the starter via variants and Theme-UI. Includes support for featured images, social images, social media icons, and RSS feed.

Documentation

https://www.gatsbycatalyst.com/

Demos

Catalyzing Start

# create a new Gatsby site using the catalyst writer starter site
gatsby new catalyst-hydrogen https://github.com/ehowey/gatsby-starter-catalyst-hydrogen

Frontmatter Fields

The following fields are available in front matter.

FieldRequired?ValuesDescription
titleYesStringTitle of the post
dateYesDatePublication date, e.g. 2019-04-15
subTitleYesStringSub title or deck for blog posts
authorYesStringAuthor of the post
featuredImageYesStringFeatured image to be used for the post
socialImageYesStringSocial image to be used for the post
slugNoStringOptionally used to specify the link slug for the post
authorLinkYesStringUsed as a link for the author name in the post summaries
tagsNoArrayTags for the post, "tag1", "tag2", "tag3"
keywordsNoArrayKeywords used for Seo, "key1", "key2", "key3"
draftNoBooleanDefaults to false, set to true if a post is a draft

Theme options

Lithium accepts all options from the core theme and blog theme directly, e.g. you can set useColorMode via gatsby-theme-catalyst-lithium and it is passed down to the correct theme appropriately.

For example the following config is valid:

{
      resolve: `gatsby-theme-catalyst-lithium`,
      options: {
        // Core theme
        displaySiteLogo: false,
        displaySiteLogoMobile: false,
        footerContentLocation: "right",
        useStickyHeader: true,
        // Blog theme
        excerptLength: 200,
      },
    },

Lithium Options

OptionValuesDescription
useHeroBooleanDefaults to false, controls whether the hero section is enabled or not.

Blog 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.

Core Theme Options

OptionValuesDescription
contentPathStringDefaults to "content/pages", determines where the pages are created from.
assetPathStringDefaults to "content/assets", determines where the page assets like images are located.
useKatextrue or falseDefaults to false, enables gatsby-remark-katex for displaying math equations.
remarkImagesWidthInteger valueDefaults to 1440, allows you to customize the image width option for gatsby-remarks-images.
imageQualityInteger valueDefaults to 50, allows you to customize the image quality on a scale of 0 - 100.
useAlertBannerBooleanDefaults to false, toggles the display of an alert banner across the top of the page.

Header Theme Options

OptionValuesDescription
useStickyHeadertrue or falseDefaults to false, controls whether the header is sticky or static
useHeaderSocialLinkstrue or falseDefaults to true, controls whether the social links are displayed or not
useColorModetrue or falseDefaults to true, controls whether the dark mode toggle is available.

Footer Theme Options

OptionValuesDescription
useFooterSocialLinkstrue or falseDefaults to true, controls whether the social links are displayed or not
footerContentLocationString value, "left", "right" or "center"Defaults to "left", determines the location of the footer content.
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

4.0.0-alpha.3

3 years ago

4.0.0-alpha.2

3 years ago

4.0.0-alpha.0

3 years ago

3.1.6

3 years ago

3.1.6-alpha.1

3 years ago

3.1.5

3 years ago

3.1.4

3 years ago

3.1.2

3 years ago

3.1.1

3 years ago

3.1.0

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.3.9

3 years ago

2.3.8

3 years ago

2.3.6

3 years ago

2.3.7

3 years ago

2.3.4

3 years ago

2.3.5

3 years ago

2.3.2

4 years ago

2.3.3

4 years ago

2.3.1

4 years ago

2.3.0

4 years ago

2.2.4

4 years ago

2.2.3

4 years ago

2.2.2

4 years ago

2.2.1

4 years ago

2.1.2

4 years ago

2.1.1

4 years ago

2.0.3

4 years ago

2.1.0

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.0

4 years ago

0.1.1

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.1

4 years ago