In this template...
- π Code highlight with Fira Code font
- π Emoji (emojione)
- π£ Social share feature (Twitter, Facebook)
- π¬ Comment feature (disqus, utterances)
- β 'Buy me a coffee' service
- π GA
- β Configurable
- π Netlify CMS
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 https://github.com/bottlehs/gatsby-starter-flat-blogIf you are not using
npx, following Gatsby Getting Started
npm install -g gatsby-cli
gatsby new my-blog https://github.com/bottlehs/gatsby-starter-flat-blogcd my-blog/
npm start
# open localhost:8000You can write...
- contents to blog in
content/blogdirectory. - resume
content/__aboutdirectory.
With markdown syntax and some meta data
npm run postYou 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 '[email protected]:${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 configsrc
βββ components
β βββ category
β βββ bio.js
β βββ layout.js
β βββ seo.js
β βββ share.js
β βββ tableOfContents.js
β βββ tag.js
βββ pages
β βββ 404.js
β βββ about.js
β βββ index.js
β βββ tags.js
βββ normalize.css
βββ properties.css
βββ properties.dark.css
βββ normalize.css
βββ style.css
βββ style.dark.css
βββ templates
βββ blog-post.js
βββ tags.js- Profile image! (replace file in
/content/assets/profile-pic.png) - Favicon image! (replace file in
/content/assets/app-icon.png) - Utterances repository! (replace repository address in
/gatsby-meta-config.js)β οΈ Please check, this guide(https://utteranc.es/)
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]
Project by @bottlehsπ€©


