Blog Starter Pack based on gatsby-starter-blog
In this template...
- 💄 Code highlight with Fira Code font
- 🧙 CLI Tool
- 😄 Emoji (emojione)
- 🗣 Social share feature (Twitter, Facebook)
- 💬 Comment feature (disqus, utterances)
- ☕ 'Buy me a coffee' service
- 🤖 GA
- ⭐ Enhance UX
- ⚙ Configurable
- JBEE.io
- Rinae's devlog
- Seungdols Company
- Kooku's log
- SOSOLOG
- delivan.dev
- Jungin's blog
- Zero's blog
- Jonathan's blog
If you're using this template, Please Pull Request for
Use case
!
# create a new Gatsby site using the blog starter
$ npx gatsby new my-blog-starter https://github.com/JaeYeopHan/gatsby-starter-bee
If you are not using
npx
, following Gatsby Getting Started
$ npm install -g gatsby-cli
$ gatsby new my-blog-starter https://github.com/JaeYeopHan/gatsby-starter-bee
$ cd my-blog-starter/
$ npm start
# open localhost:8000
You can write...
- contents to blog in
content/blog
directory. - resume
content/__about
directory.
With markdown syntax and some meta data
$ npm run post
You can fix meta data of blog in /gatsby-meta-config.js
file.
5. Publish with netlify
💡 if you want to deploy github pages, add following script to package.json
"scripts": {
"deploy": "gatsby build && gh-pages -d public -b master -r 'git@github.com:${your github id}/${github page name}.github.io.git'"
}
/root
├── gatsby-browser.js // font, polyfill, onClientRender ...
├── gatsby-config.js // Gatsby config
├── gatsby-meta-config.js // Template meta config
└── gatsby-node.js // Gatsby Node config
src
├── components // Just component with styling
├── layout // home, post layout
├── pages // routing except post: /(home), /about
├── styles
│ ├── code.scss
│ ├── dark-theme.scss
│ ├── light-theme.scss
│ └── variables.scss
└── templates
├── blog-post.js
└── home.js
You can customize color in src/styles
directory.
src/styles
├── code.scss
├── dark-theme.scss
├── light-theme.scss
└── variables.scss
- Profile image! (replace file in
/content/assets/profile.png
) - Favicon image! (replace file in
/content/assets/felog.png
) - Header gradient! ($theme-gradient
/styles/variables.scss
) - Utterances repository! (replace repository address in
/gatsby-meta-config.js
)
If you are currently writing in the Medium, consider migration with medium-to-own-blog!
Project by @Jbee✌