All Projects → calpa → Gatsby Starter Calpa Blog

calpa / Gatsby Starter Calpa Blog

Licence: mit
Calpa's Blog (GatsbyJS Starter X Netlify CMS)

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Gatsby Starter Calpa Blog

Devblog
A lightweight, customizable personal blog template built with GatsbyJS and React
Stars: ✭ 312 (-0.32%)
Mutual labels:  blog, gatsbyjs
Dmitripavlutin.com
Dmitri Pavlutin's blog powered by GatsbyJS
Stars: ✭ 76 (-75.72%)
Mutual labels:  blog, gatsbyjs
Leonids
A simple, fixed sidebar two columns Gatsby.js blog starter.
Stars: ✭ 813 (+159.74%)
Mutual labels:  blog, gatsbyjs
Gatsby Starter Prismic
A typography-heavy & light-themed Gatsby Starter which uses the Headless CMS Prismic.
Stars: ✭ 381 (+21.73%)
Mutual labels:  blog, gatsbyjs
Gatsby Theme Chronoblog
⏳ Chronoblog is a Gatsbyjs theme specifically designed to create a personal website. The main idea of ​​Chronoblog is to allow you not only to write a personal blog but also to keep a record of everything important that you have done.
Stars: ✭ 101 (-67.73%)
Mutual labels:  blog, gatsbyjs
Gatsby Starter Minimal Blog
Typography driven, feature-rich blogging theme with minimal aesthetics. Includes tags/categories support and extensive features for code blocks such as live preview, line numbers, and line highlighting.
Stars: ✭ 752 (+140.26%)
Mutual labels:  blog, gatsbyjs
Dantecalderon.dev
💻 ❤️ My personal website
Stars: ✭ 51 (-83.71%)
Mutual labels:  blog, gatsbyjs
Gatsby Material Starter
A high performance blog starter with Material design in mind for GatsbyJS.
Stars: ✭ 456 (+45.69%)
Mutual labels:  blog, gatsbyjs
Ryosuke Gatsby Blog
Static PWA React-powered portfolio and blog built with GatsbyJS
Stars: ✭ 90 (-71.25%)
Mutual labels:  blog, gatsbyjs
Blog
Source for my blazing fast blog
Stars: ✭ 83 (-73.48%)
Mutual labels:  blog, gatsbyjs
Blog
My blog created with React, Gatsby & Markdown
Stars: ✭ 29 (-90.73%)
Mutual labels:  blog, gatsbyjs
Qards
Qards is a blogging platform focused on performance and on closing the gap between content publishers and developers: https://qards.io
Stars: ✭ 226 (-27.8%)
Mutual labels:  blog, gatsbyjs
Gatsby Starter Prismic I18n
Based on gatsby-starter-prismic with Internationalization (i18n) support
Stars: ✭ 77 (-75.4%)
Mutual labels:  blog, gatsbyjs
Anuraghazra.github.io
My Portfolio Site | Made With @Gatsbyjs
Stars: ✭ 191 (-38.98%)
Mutual labels:  blog, gatsbyjs
Portfolio
Personal portfolio 💙 Projects & Blog posts 🎨💻
Stars: ✭ 259 (-17.25%)
Mutual labels:  blog, gatsbyjs
Blog
📖 个人博客,分享一些前端工作学习中的收获,欢迎 ✨,博客地址>>
Stars: ✭ 297 (-5.11%)
Mutual labels:  blog
Codedoc
Create beautiful modern documentation websites.
Stars: ✭ 307 (-1.92%)
Mutual labels:  blog
Many People Blog
🎈基于vue+node+mysql的多人博客,带后台管理系统。支持:登陆/注册,留言,评论/回复,点赞,记录浏览数量,带有相册功能,内容丰富,当然也可以发表文章。欢迎使用!
Stars: ✭ 300 (-4.15%)
Mutual labels:  blog
Borgert Cms
Borgert is a CMS Open Source created with Laravel Framework 5.6
Stars: ✭ 298 (-4.79%)
Mutual labels:  blog
Cards Jekyll Template
A simple Jekyll Template Card Based.
Stars: ✭ 306 (-2.24%)
Mutual labels:  blog

Gatsby Starter - Calpa's Blog

GitHub license Accept Pull Requests Twitter Greenkeeper badge Build Status CodeFactor Netlify Status

繁體中文 | 简体中文 | English

Home Page

Build a blog system like Calpa's Blog in ease.

If you like this project, please don't hesitate to star it. Thank you.

Feature

Structure

  1. GatsbyJS v2, faster than faster
  2. Google Analytics
  3. Offline support
  4. Web App Manifest
  5. Page pagination
  6. Netlify optimization
  7. Awesome comment component (powered by Gitalk)
  8. Search Engine Optimization
  9. Parse Markdown in high speed (powered by gatsby-transformer-remark)
  10. Support to sitemap

Design

  1. Pagination
  2. Responsive Web Design
  3. Font Awesome is auto loaded (powered by react-fontawesome)
  4. Scroll smoothly (powered by smooth-scroll)

Data Source

You can edit the posts in /src/content/*.md, or using Netlify-cms to edit the posts.

Customization for developers

  1. SEO
  2. Styled using SCSS
  3. Data Source

Get Started

Deploy with Netlify

Use the button below to build and deploy your own copy of the repository:

Deploy to Netlify

After clicking that button, you’ll authenticate with GitHub and choose a repository name. Netlify will then automatically create a repository in your GitHub account with a copy of the files from the template.

Next, it will build and deploy the new site on Netlify, bringing you to the blog system when the build is complete.

Code with Codesandbox

Use the button below to code with the blog system:

Edit blog

Prerequisites

  1. Git
  2. Node: any 8.x version starting with 8.5.0 or greater
  3. A fork of the repo (for any contributions)
  4. A clone of the this repo on your local machine

Develop

How to start this project?

  1. Install Gatsby-CLI
npm install --global gatsby-cli
  1. Create new Gatsby project using this starter, awesome-blog is your blog's folder
gatsby new awesome-blog https://github.com/calpa/gatsby-starter-calpa-blog
  1. Open the folder
cd awesome-blog
  1. Run Development Server

    1. npm start to start the hot-reloading development server (powered by Gatsby)
    2. open http://localhost:8000 to open the site in your favorite browser

Configuration

Edit the export object in data/config

Note: To look up theme_color hex code, click here.

module.exports = {
  title: 'your blog title here',
  maxPages: 12
  meta: {
    description: 'blog description',
    keyword: 'blog, JavaScript',
    theme_color: '#hexcode',
    favicon: 'https:yourimageurl.com',
    google_site_verification: 'your google verification hash',
  },
  name: 'your name',
  email: '[email protected]',
  iconUrl: 'https://youricon.jpg',
  License: 'by',
  url: 'https://yourblog.me',
  about: '/2018/05/01/about-your-name/',
  // Sidebar
  zhihuUsername: 'your zhiu user name here',
  githubUsername: 'your github user name here',
  friends: [
    {
      title: 'friend title',
      href: 'link to their blog',
    }
  ]

Plugins in the configuration file:

gaOptimizeId: 'GTM-WHP7SC5',
gaTrackId: 'UA-84737574-3',
navbarList: [
  {
    href: '/stats/',
    title: 'stat title',
  },
  {
    href: '/tags/',
    title: 'tags',
  },
  {
    href: '/guestbook/',
    title: 'guestbook',
  },
  {
    href: '/2018/10/04/about-your-blog/',
    title: 'your title',
  },
],
redirectors: [
  {
    fromPath: '/',
    toPath: '/page/1',
  },
],

Gitalk plugin configuration

gitalk: {
    clientID: '18255f031b5e11edd98a',
    clientSecret: '2ff6331da9e53f9a91bcc991d38d550c85026714',
    repo: 'calpa.github.io',
    owner: 'calpa',
    admin: ['calpa'],
    distractionFreeMode: true,
  },
}

Deploy

Calpa's blog is currently using Netlify, though, you may use Github Pages as an alternative.

  • Github Pages

    npm run deploy to deploy the blog to Github Pages

  • Netlify

    Auto Deploy

Troubleshooting

  • For window is defined, wrap the require in check for window:

    if (typeof window !== `undefined`) {
      const module = require("module");
    }
    
  • npm run reset to clear the local cache

  • Check GatsbyJS Debugging Docs

Contributing

Please read CONTRIBUTING.md for more information.

And don't hesitate to put your star and watch this starter project.

Contact

If you are interested in this project, please feel free to contact Calpa Liu.

Thanks For Contribute... :)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].