Releases: Hidekazoo/gatsby-theme-crudzoo
Releases · Hidekazoo/gatsby-theme-crudzoo
Update to new design
v0.2.0
v0.1.4
v0.1.3
New Style and New feature "series"
You can see the new style on the demo site.
Breaking Changes
There are some breking changes from v0.0.12 to v0.1.3.
- gatsby-config.js
- folder structure
- change article folder
Article URL changes with this update. For example, the article which was in the path of "sample" moves
v0.0.12: https://example.com/sample
v0.1.3: https://example.com/blog/sample
Migrate v0.0.12 to v0.1.3
gatsby-config.js
update gatsby-config.js as below
add item: mainColor
module.exports = {
siteMetadata: {
language: `en`,
title: `gatsby-crudzoo demo site`,
author: `hidekazoo`,
keywords: [`demo`, `gatsby-theme`],
description: `This site is demo of gatsby-crudzoo theme`,
siteUrl: `http://example.com`,
mainColor: `#e65100`,
social: {
twitter: `crudzoo`
}
},
plugins: [
{
resolve: "gatsby-crudzoo",
options: {}
}
]
};
update markdown file
add new config "id" and "image". Put thumbnail images in the same directory. id is used in series
---
id: "article-1"
title: "Hello world"
date: "2019-06-03T21:58:03.284Z"
tags: ["blog", "self-introduction"]
spoiler: "this is my first article"
image: "thumbnail.jpg"
---
hello world!
article folder
create blog folder on your root directory and move articles in the content there.
add series
By creating a json file in the series folder, You can create a list of articles called series
{
"seriesId": "sample",
"title": "sample title",
"spoiler": "my sample series",
"image": "sample.png",
"articles": ["article-1"]
}
v0.0.12
v0.0.11
v0.0.10
It corresponded to stable release of Gatsby theme.
Migrating from 0.0.8 to 0.0.10
fix gatsby-config.js
plugins: [{
resolve: "gatsby-crudzoo",
options: {},
}, ],
// __experimentalThemes: [`gatsby-crudzoo`]
Move gatsby-crudzoo from __experimentalThemes to plugins.