A gatsbyjs starter forked from gatsby-starter-blog and applied overreacted lookings, with tags and Algolia, pagination, breadcrumbs, eslint, relative posts, disqus, i18n, eslint supported.
This project is migrated to Gatsby@v4
npm install -g gatsby-cli
gatsby new my-blog-folder https://github.com/thundermiracle/gatsby-simple-blog
Medium.com -- Deploy Static Sites to Netlify by Circle-CI
-
Almost all basic configurable values are here: ./config/index.js
-
To enable Algolia, create a site in Algolia and copy
.env.sample
to.env
, change all variables to real Algolia ones. You can check the tutorial here:
https://www.gatsbyjs.com/docs/adding-search-with-algolia/#configuring-the-algolia-plugin
-
Add [lang].js to config/locales folder
-
Modify supportedLanguages in config/index.js
-
Set site.lang in config/index.js as default language
-
add [filename].[lang].md to content/blog and enjoy!
-
Display multiple language. (Only be shown when supportedLanguages > 1)
Display language link in every post. (You can disable it in config/index.js by displayTranslations: false)
-
overreacted.io lookings
-
Display articles in same tag.
-
Search posts in same language by Algolia.
-
Display breadcrumbs in header part.
-
Display previous and next posts in same tag in footer part.
-
Use disqus.com to enable comment.
-
Enable eslint for better coding experience.
-
Enable babel-module-resolver to prevent relative path hell
This project is licensed under the terms of the MIT license.