项目作者: JaeYeopHan

项目描述 :
🐝Full Package | Simple | Fresh UI | Blog Template :: Let's start to blogging with gatsby-starter-bee!
高级语言: JavaScript
项目地址: git://github.com/JaeYeopHan/gatsby-starter-bee.git
创建时间: 2019-02-03T14:27:33Z
项目社区:https://github.com/JaeYeopHan/gatsby-starter-bee

开源协议:MIT License

下载






Financial Contributors on Open Collective Greenkeeper badge
Total alerts
contributions welcome
Netlify Status


Twitter: JbeeLjyhanll

한국어🇰🇷

screenshot

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

About this Template

Demo


Use case


demo-image



If you’re using this template, Please Pull Request for Use case!

😎 Quick Start

1. Create a Gatsby site

  1. # create a new Gatsby site using the blog starter
  2. npx gatsby new my-blog-starter https://github.com/JaeYeopHan/gatsby-starter-bee

If you are not using npx, following Gatsby Getting Started

  1. npm install -g gatsby-cli
  2. gatsby new my-blog-starter https://github.com/JaeYeopHan/gatsby-starter-bee

2. Start developing

  1. cd my-blog-starter/
  2. npm start
  3. # open localhost:8000

3. Add your content

You can write…

  • contents to blog in content/blog directory.
  • resume content/__about directory.

With markdown syntax and some meta data

Support script for creating new post

cli-tool-example

  1. npm run post

👉 Use gatsby-post-gen (https://github.com/JaeYeopHan/gatsby-post-gen)

4. Fix meta data

You can fix meta data of blog in /gatsby-meta-config.js file.

5. Publish with netlify

Deploy to Netlify

:bulb: if you want to deploy github pages, add following script to package.json

  1. "scripts": {
  2. "deploy": "gatsby build && gh-pages -d public -b master -r 'git@github.com:${your github id}/${github page name}.github.io.git'"
  3. }

🧐 Customize

⚙ Gatsby config

  1. /root
  2. ├── gatsby-browser.js // font, polyfill, onClientRender ...
  3. ├── gatsby-config.js // Gatsby config
  4. ├── gatsby-meta-config.js // Template meta config
  5. └── gatsby-node.js // Gatsby Node config

⛑ Structure

  1. src
  2. ├── components // Just component with styling
  3. ├── layout // home, post layout
  4. ├── pages // routing except post: /(home), /about
  5. ├── styles
  6. ├── code.scss
  7. ├── dark-theme.scss
  8. ├── light-theme.scss
  9. └── variables.scss
  10. └── templates
  11. ├── blog-post.js
  12. └── home.js

🎨 Style

You can customize color in src/styles directory.

  1. src/styles
  2. ├── code.scss
  3. ├── dark-theme.scss
  4. ├── light-theme.scss
  5. └── variables.scss

🍭 Tips (You can change…)

  • 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)
  • Please set it up for update to the domain distributed in ‘robots.txt’! (replace part https://your-blog.netlify.app of gatsby-config.js)
  • Utterances repository! (replace repository address in /gatsby-meta-config.js)

☕ Like it?


Buy Me A Coffee

🤔 If

If you are currently writing in the Medium, consider migration with medium-to-own-blog!

:bug: Bug reporting

Issue

🎁 Contributing

Contributing guide

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].



Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]










LICENSE

MIT



Project by @Jbee