In this template...
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...
content/blog
directory.content/__about
directory.With markdown syntax and some meta data
npm run post
π Use gatsby-post-gen (https://github.com/JaeYeopHan/gatsby-post-gen)
You can fix meta data of blog in /gatsby-meta-config.js
file.
:bulb: 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
/content/assets/profile.png
)/content/assets/felog.png
)/styles/variables.scss
)/gatsby-meta-config.js
)
If you are currently writing in the Medium, consider migration with medium-to-own-blog!
This project exists thanks to all the people who contribute. [Contribute].
Become a financial contributor and help us sustain our community. [Contribute]
Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]