Ramsbaby / ramsbaby-blog-starter

MIT License
3 stars 1 forks source link



contributions welcome Netlify Status



LeeAndJang Gatsby blog starter 는...


LeeAndJang Gatsby blog starter 에서 제공하는 서비스는...


데모 사이트

Use case (블로그를 사용해주시는 고마운 분들)

  • L's tech blog: https://ramsbaby.netlify.com/
  • J's tech blog: https://goguj.netlify.com/
  • 김선휘님의 blog: https://bisunny.netlify.com/

이 블로그 템플릿을 사용하시는 경우, Use case 에 본인의 블로그를 추가해주시길 부탁드립니다!



🤟 Quick Start

1. Clone a project

# create a new Gatsby site using the blog starter
npx gatsby new my-blog-starter https://github.com/LeeAndJang/L-J-gatsby-blog-starter

If you are not using npx, following Gatsby Getting Started

npm install -g gatsby-cli
gatsby new my-blog-starter https://github.com/LeeAndJang/L-J-gatsby-blog-starter

2. Start developing

cd my-blog-starter/
npm start
# open localhost:8000

3. Add your content

You can write...

With markdown syntax and some meta data

4. Fix meta data

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

5. Publish with netlify

Deploy to 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'"
}



🧐 Customize

⚙ Gatsby config

/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

⛑ Structure

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

🎨 Style

You can customize color in src/styles directory.

src/styles
├── code.scss
├── dark-theme.scss
├── light-theme.scss
└── variables.scss

🍭 Tips (You can change...)



☕ Like it?

Buy Me A Coffee



🙏 Source of Our blog...

한재엽님의 블로그!



:bug: Bug reporting

Issue



🎁 Contributing

Contributing guide



👏 Creator

이정우
장철우



LICENSE

MIT

Project by @LeeAndJang