A minimal blog theme plugin for Gatsby
Full Changelog: https://github.com/Pitayan/gatsby-theme-pitayan/compare/v0.5.1...v0.5.2
Full Changelog: https://github.com/Pitayan/gatsby-theme-pitayan/compare/v0.5.0...v0.5.1
From this version on, there're some big changes for this plugin. Please read the content below to make sure that the changes are able to fully function on your side.
Gatsby v5 has changed quite a lot of things. It didn't take much time for gatsby-plugin-pitayan to migrate from v4. Thus, it would be a pleasant experience for you as well.
To smoothly migrate your site to Gatsby v5, you'll have to do the following steps.
react
& react-dom
now are also upgraded to >=v18.0.0.)npm install
to get the updated dependencies.cache
) from your project root folder before you "npm run develop".It's created under responsive design for the post page which is displayed under "large screen" devices (browsers). It's sticky to the top of the post component and has active states for each of the item within it.
By default, this ToC will only show item up to 2 levels. Suppose your content is having from H1 till H3. Only the H1 and H2 will be displayed in the ToC list. However, it's editable via a plugin option of tableOfContentsLevels
.
plugins: [
{
resolve: `@pitayan/gatsby-theme-pitayan`,
options: {
siteAssets: "src/assets",
postsPerPage: 10,
tableOfContentsLevels: 3,
...
In order to center the post component, the sharing group buttons were attached to the left side of post component for the balance. It's also sticky to the top of the post component.
Full Changelog: https://github.com/Pitayan/gatsby-theme-pitayan/compare/v0.4.3...v0.5.0
In this release, there're many design changes that are quite different than what it looks like before.
For scenarios like 3rd party tracking (e.g. using GA), it's now possible to directly listen these new custom events and reacts to the user behaviors.
Icon is also changed
Before
Now
You could edit the subscription title and description via siteMetadata
siteSubscription: {
title: "Don't forget to signup the newsletters",
description: "You'll get our most recent updates when we publish new contents"
}
Issue #8
Similar to subscription component, you could edit its content via siteMetadata
siteCookieConsent: {
title: "",
description: "",
readMore: "",
}
Remove dependency of gatsby
from gatsby-theme-pitayan to avoid version confusion.